I was having some problems with an angular project so i reinstalled nodejs and angular cli however now when i try to run
ng serve
i get this error:
enter image description here
now ive done the typical google searching for this problem and it led me to stackoverflow with making sure the nodejs is in the enviroment variables path and it was already there: enter image description here
also i checked the path to verify it and here is the folder: enter image description here
i tried to be as thorough as possible before coming here to ask this question. i dont know how to fix this when the path is correct. please help!!
Advertisement
Answer
- Try checking your node version to see if you have node properly installed.
- Maybe your CMD was opened before the path was set, try opening a new CMD window and execute the same command again.