Reputation: 23
I'm installing express on disk D:/ but I found an error when I installed it, but if I install express on disk C:/ it worked and I reinstalled it on disk E:/ and D:/ Errors like this appear.enter image description here
Upvotes: 2
Views: 10417
Reputation: 1
for windows :
I tried to fix this problem by updating the node.js and installing express globally by running following command:-
npm i -g express
Upvotes: 0
Reputation: 202
You seem to be running into a permissions issue. one thing that I always do is use:
sudo
that is on Mac. On Windows, you should be able to use:
--force at the end of your statement.
Upvotes: 1