Can't install any packages in Node.js using “npm install”

前端 未结 6 1956
忘了有多久
忘了有多久 2020-12-01 11:36

I\'m new to Node.js, and I\'m going through a few tutorials. For some reason, I can\'t install any new node modules.

I am using: Mac OSX 10.7.4,

6条回答
  •  一整个雨季
    2020-12-01 12:23

    If you happened to run npm install command on Windows, first make sure you open your command prompt with Administration Privileges. That's what solved the issue for me.

提交回复
热议问题