Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular CLI wont create new project

I am trying to create a project (named ngadmin) via the angular cli but it throws errors on this command: ng new ngadmin. The errors are:

fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

You cannot use the new command inside an angular-cli project.

I am not sure what the problem is as this cli was working fine for me a few days ago.

like image 532
Sony Claba Avatar asked Aug 04 '16 22:08

Sony Claba


1 Answers

Check in your username folder, if there is package.json and node_module exist. If they are there then delete them.

Notice: you may have created an angular project in your home/username directory. If you delete them it will work.

like image 174
TheTechGuy Avatar answered Sep 26 '22 14:09

TheTechGuy