Error: Path "/app/app.module.ts" does not exist. Path "/app/app.module.ts" does not exist.
I reinstalled Node and Angular, did it several times. cleaning cache and so on. but still get this error Can anyone please help? p.s. I've seen other discussions about the same error, but they just reinstalled their node.js and everything worked. Not in my case
issue: When I create a new project "ng new project-name" , I get this error: Error: Path "/app/app.module.ts" does not exist. Path "/app/app.module.ts" does not exist.
Ok trying now... And how did you reinstall Angular CLI? @OrkhanHuseynli
@lenichols
if you delete all node files, then actually you delete your angular installation by default.
Therefore, you don't "reinstall" angular again,
Thus, follow steps I provided in above comment:
Install Node: simply run installation file
Install angular: npm install -g @angular/cli
@OrkhanHuseynli - this worked!
- I uninstalled node completely including its dependencies
- Reinstalled it using the node package from Node's website - not homebrew
- Installed AngularCLI
it worked. I did this 3 times each installing node via homebrew and it did not work. I think the issue may be in the homebrew install IDK.
same issue. Is there no way to solve this problem but to reinstall node.js completely including all of its packages?
In my case the problem was folder permission. I tried in a folder with full permission and worked.
If you are using windows just uncheck Readonly
If you are using OS base on Linux Kernel just:
sudo chmod 644 -R foldername
I can't figure out how how resolve this issue. I still receive this Error: Path "/app/app.module.ts" does not exist. Path "/app/app.module.ts" does not exist.
I also have the same error. I am using node 9.8.0, have tried Angular CLI 1.7,3, 1.7.2, 1.5.3, 1.6.0 and others, Ubuntu 16.04.4 and NVM 0.33.8
Same issue Error: Path "/app/app.module.ts" does not exist. Path "/app/app.module.ts" does not exist. Lets keep this going until a solution,
Did anyone find a solution ?
I used windows 10. It also work in my Mac with a workaround.
On Wed, 21 Mar 2018, 00:46 Andy, [email protected] wrote:
Did anyone find a solution ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/8989#issuecomment-374805280, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwTc82AstOg9_h8V6Ic4gNRnDB2yG5rks5tgaL_gaJpZM4RL9mS .
-- Regards
Abdul Jabbar Azam twitter: @ajazam
just uninstall angular/cli and clean cache and again install angular/cli and try ng new "your app name" it will work......./
Hi @eragon11, that doesn't work for me. Please tell me the version that you have of node, cli, and npm Thanks
@OrkhanHuseynli and @lenichols also worked for me.
- I uninstalled Node 8.x using the "Uninstall Nodejs" program included with the Node installation on Windows 10
- I installed @angular/cli 1.7.4 globally using NPM.
- I installed Node 10.x via website download (not Homebrew)
No longer receiving the "Error: Path" issue.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.