I was getting some version error from the start of my project so after this I uninstalled and deleted all files of node and cli and installed from the beginning. And now when I am running npm start it is showing:
You are running version v8.11.2 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.
Updated:
When using node 10.16.0 showing this error
I have tried installing packages again and again after deleting it but it hasn't worked. I have removed all the packages and installed again but it didn't work.
npm
does not support node v10.16.0. So updatenpm
which is not the same asnode
. - penleychan