I am trying to learn Angular and am following an online tutorial. However, I can\'t seem to get past creating a new project with ng new. I am running node v10.16.0 and npm 6.9.0
For some reasons when angular/cli (ng) run npm install by itself, it have problem with packages writing, so you can run
ng new yourProject --skipInstall=true
so angular/cli will not install any node packages and then run
npm install --force
to install it by yourself
I've faced like this issue and the solution was:
Note: If you don't have current user directory you have to create it.
3.Under System variables ==> Path, Make sure *C:\Program Files\nodejs* its above all.
are you working offline? you need to be online, so that npm can download the dependencies for the project.