1

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

faisal hanafi
  • 13
  • 1
  • 3

2 Answers2

0

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.
roger
  • 192
  • 11
0

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