ng --version showing The current version of Node (16.8.0) is not supported by Angular
16,404
Solution 1
You can use Angular CLI with Node >=14 version. Command not working, because you switched to another nvm node version with it's own installed packages. You have to install angular cli again on your node 14.15. npm install -g @angular/cli
Solution 2
nvm use <previous-version>
npm uninstall -g @angular/cli
nvm use 16
npm install -g @angular/cli
ng version
This worked for me.
Author by
walexy
Updated on June 23, 2022Comments
-
walexy almost 2 years
I just installed the latest version of node(16.8) using nvm and angular/cli(12.2).
But when i run
ng --version
It shows the following:
Warning: The current version of Node (16.8.0) is not supported by Angular.
I tried to downgrade the node and installed node 14.15 but ng is not working anymore.
Should i ignore the warning and use node 16?.
Why is ng not working with node 14.15?.
PS: I am using nvm to manage the different node versions
-
walexy over 2 yearsCan i ignore the cli warning and continue using node 16?
-
Anton Marinenko over 2 yearsI wouldn't recommend it, but you can try by your own risk.
-
walexy over 2 yearsWhat do you recommend ?.
-
Anton Marinenko over 2 yearsJust use v14.xx