1
resposta

Erro na instalação da versão 2.7.0

Não consigo instar a versão do vue cli, meu node js é versão 16.13.0.

pm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated vue-cli@2.7.0: This package has been deprecated in favour of @vue/cli

changed 352 packages, and audited 353 packages in 41s

2 packages are looking for funding run npm fund for details

15 vulnerabilities (1 low, 2 moderate, 6 high, 6 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

1 resposta

Fala Selber, tudo bem? Espero que sim!

Esse não é um erro e sim um aviso! Portanto foi instalado corretamente.

No aviso diz que essa versão que você instalou (a mesma utilizada no curso) esta obsoleta e que se deve instalar a ultima versão do CLI.

Mas recomendo continuar com essa versão pelo menos até o término do curso para evitar conflitos de versões. Caso queira atualizar basta executar o comando:

npm install -g vue-cli

Espero ter ajudado, abraços e bons estudos :D