I have node version 8.9.3 and my angular cli version is above 8. Since Angular CLI 8 and above are not supported. I tried to downgrade the angular version less than 8. (say 7.3.5). I could not update node and I am in need of node in the specified version. In order to downgrade angular cli, I first did uninstall the current angular cli and then installed the cli version which I want. After installing the cli, ng --version throws the following error:
You are running version v8.9.3 of Node.js, which is not supported by Angular CLI 8.0+.
The official Node.js version that is supported is 10.9 or greater.
Please visit https://nodejs.org/en/ to find instructions on how to update Node.js.
Later I visited the below links and none of the solution worked for me.
Solution I tried:
- Uninstall globally using
npm uninstall -g @angular/cli
command - Npm Cache cleaned and verified
npm cache clean --force
npm cache verify
- Manually deleted the cli folder in Appdata/Roaming/npm .
-g
flag. - Michael D