\n","author":{"@type":"Person","name":"Muthu"},"upvoteCount":0,"answerCount":2,"acceptedAnswer":null}}
Reputation: 928
I am facing an issue since morning. When enter ng serve
command to run the angular project, I am getting Access is denied
error. The same issue is occurred when executing the grunt commands too. Any idea on this?
The projects were working correctly until yesterday. I have attached the screenshot for your reference.
Upvotes: 0
Views: 3048
Reputation: 1
In my case I was getting this error when I installed npm i -g @angular/cli
and run the ng serve
command. So I restart my system. Now it's working for me.
Upvotes: 0
Reputation: 1724
Make sure you don't have ng serve
already running there.
You can do Ctrl + Alt + Del
and kill any NodeJS
instance you find.
Then try again.
If that doesn't work, check your folder permissions, and make sure you have a correct access rights to that folder.
Upvotes: 0