Can't install any package with node npm

前端 未结 16 2240
一向
一向 2020-12-02 13:12

I\'m trying to install some node packages through npm, but it won\'t go. I\'ve already tried to install/unistall/update node, but nothing seems to work.

I\'m using u

16条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 13:30

    npm install  --registry http://registry.npmjs.org/
    

    Try specifying the registry with the install command. Solved my problem.

提交回复
热议问题