Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.4K
Visualizações
Unable to get Angular CLI version, though all the requirements are installed?

I am having difficulties doing anything with the Angular CLI. I have Node, NPM. and Angular all installed, when I run the which command in the terminal they all exist in my /user/local/bin

This is my current node.js: v11.8.0

This is my current npm: 6.5.0

When I run ng -v I am unable to get the version and I get the following message:

$ ng -v
Node.js version v11.8.0 detected.
The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0.

Please update your Node.js version or visit https://nodejs.org/ for additional instructions.

I have tried uninstalling the Angular CLI but, getting the same results.

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

I would recommend you to remove your NodeJS installation completely and re-install NodeJS through NVM. This way you can easily switch between multiple NodeJS versions and the other benefit of that for each active NodeJS version you may able to install specific Angular CLI version.

e.g:

nvm install 11  
nvm install 12
nvm alias default 12  
nvm use 11  
npm install @angular/cli -g
  • Mac/Linux: https://github.com/nvm-sh/nvm
  • Windows: https://github.com/coreybutler/nvm-windows

Also see some details on Angular CLI version here

P.S
If you where using brew, to uninstall NodeJS follow this steps:

brew uninstall node; 
# or `brew uninstall --force node` which removes all versions
brew cleanup;
rm -f /usr/local/bin/npm /usr/local/lib/dtrace/node.d;
rm -rf ~/.npm /usr/local/bin/node;
over 4 years ago · Santiago Trujillo Relatório

0

Angular CLI requires a current, active LTS, or maintenance LTS version of Node (https://angular.io/guide/setup-local#nodejs). which version 11 isn't.

Node.JS 11 is no longer supported by the Node.Js team as after six months, odd-numbered releases (9, 11, etc.) become unsupported. More info: https://nodejs.org/en/about/releases

Solution : Upgrade Node version to 12+

over 4 years ago · Santiago Trujillo Relatório

0

As, the Angular CLI requires a minimum Node.js version of either v10.13 or v12.0.

STEP 1: Install v12.x

nvm install 12

STEP 2: Use v12.x

nvm use 12

STEP 3: Install Angular CLI

npm install @angular/cli -g

STEP 4: Check version, verify its installed

ng --version

sample image of output: https://i.stack.imgur.com/9jr15.png

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda