How to fix timeout for packages on `npm install`?

后端 未结 6 1173
南旧
南旧 2021-01-17 19:20

When I run npm install it seems to work fine until part way installing packages. It seems to have no problem with the first half, but then after a while it will

6条回答
  •  天涯浪人
    2021-01-17 19:48

    If it's about the timing problem you should find a speed solutions for npm install.

    So you can try these faster command than npm install :

    pnpm install %70 faster
    or
    npm install --no-audit 15% faster
    or
    npm install --prefer-offline --no-audit 15% faster

    check this article for details : speeding up npm install

提交回复
热议问题