Tentando instalar o AngularJS, mas não consigo instalar o Yeoman

2

Estou tentando instalar o AngularJS no Yeoman, mas continuo com problemas e não consigo instalar o Yeoman. Minha versão do NodeJS é v0.12.10 (atualizado, tanto quanto eu posso dizer), meu npm verison é 3.7.3 (também atualizado, acredito).

Veja o que acontece quando tento instalar o Yeoman:

npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
/home/marieficid/.node/bin/yo -> /home/marieficid/.node/lib/node_modules/yo/lib/cli.js

> [email protected] postinstall /home/marieficid/.node/lib/node_modules/yo
> yodoctor


Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✖ Node.js version

Your Node.js version is outdated.
Upgrade to the latest version: https://nodejs.org

✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✖ npm version

Your npm version is outdated.

Upgrade to the latest version by running:
npm install -g npm


Found potential issues on your machine :(
[email protected] /home/marieficid/.node/lib/node_modules/yo
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

Quando tento executar sudo npm install -g npm :

marieficid@mariana-K46CB:~/Documentos/AngularTutorial$ sudo npm install -g npm
/home/marieficid/.node/bin/npm -> /home/marieficid/.node/lib/node_modules/npm/bin/npm-cli.js
[email protected] /home/marieficid/.node/lib/node_modules/npm

E eis o que acontece quando tento atualizar o nodejs:

marieficid@mariana-K46CB:~/Documentos/AngularTutorial$ sudo npm install -g n
/home/marieficid/.node/bin/n -> /home/marieficid/.node/lib/node_modules/n/bin/n
[email protected] /home/marieficid/.node/lib/node_modules/n

Estou no Ubuntu 14.04.

    
por napstablook 25.02.2016 / 19:59

0 respostas