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

前端 未结 6 1960
忘了有多久
忘了有多久 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条回答
  •  Happy的楠姐
    2020-12-01 12:23

    This error might also occur due to proxy settings, once check that your proxy allow the access to npm commands.

    It worked for me quite well.

提交回复
热议问题