Override package install timeout from 30 seconds to 120 seconds#596
Override package install timeout from 30 seconds to 120 seconds#596n10l wants to merge 1 commit intopastelsky:bundlephobiafrom
Conversation
|
@pastelsky @Harry-Hopkinson Could you please merge this? |
|
Why does the package take more than 30 seconds to install though? The reason for the 30s timeout is to protect bundlephobia against resource exhaustion caused by a few packages. If it takes up to 120 seconds to install a single package on a fast (AWS-level) internet connection, I'd argue that it isn't the best experience for users of the package, and bundlephobia definitely isn't meant to process every package on npm. |
|
@pastelsky Could be due to rollup-plugin-scss which might be causing this while installing node-sass/sass, which I guess compiles on local machine while installation. I am no more working on same thing currently. But when I resume, I will check. But, as few other people were facing this as well #623 I requested for the merge. |
Fixes for me #595