I am facing problem in creating new project in angular. When I run ng new myapp command I get following command
ng new hello
Error: Path "/app/app.module.ts" does not exist.
Path "/app/app.module.ts" does not exist.
can anyone help me out???
Here is the Solution
Please make sure that your new folder have write permission
if you are using ubuntu please run the command below to that folder
sudo chmod 644 -R foldername
then run ng new appname
and check your node version too
Fixed it by simply deleting all node_module folders on my disk:
And that's it. Seems like there was clutter lying around.
Please keep in mind, this is the wooden hammer method. Your projects need to be rebuilt from scratch after this.
It means the folder in which you are creating angular project is corrupted. The same command will work in some other Path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With