Can't install any package with node npm

前端 未结 16 2260
一向
一向 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:34

    I also had problem in Ubuntu 15.10 while installing gulp-preetify.

    The problem was:

    1. Registry returned 404 for GET on http://registry.npmjs.org/gulp-preetify

    2. I tried by using npm install gulp-preetify but it didn't worked.

    3. Again i tried using: npm i gulp-preetify and it just got installed.

    I cannot guarantee that it will solve your problem but it won't harm with a single try.

提交回复
热议问题