Node-sass: Installation is too slow and blocked sometimes

Created on 12 May 2016  ·  6Comments  ·  Source: sass/node-sass

When I run npm i node-sass, probability of a block:

> [email protected] install /Users/creeper/work/projects/SugarDevelop/node_modules/node-sass
> node scripts/install.js

It could be blocked here for a long time, and never go through. 😂

Invalid - User Network npm install

All 6 comments

There is nothing to do here, we can't make the internet faster for you.
We document how to load the binaries from an alternate location if that's what you want.

@xzyfer thanks for your reply.

Maybe it's better to tell user that the installation shell is downloading a binary. If not, it's more like a problem with installation shell itself.

> [email protected] install /Users/creeper/work/projects/SugarDevelop/node_modules/node-sass
> node scripts/install.js

# tell user it's downloading something
download sass binary...

That's s good point. We do say we've downloaded a file but it happens after
the download.
On 12 May 2016 7:26 PM, "Creeper" [email protected] wrote:

@xzyfer https://github.com/xzyfer thanks for your reply.

Maybe it's better to tell user that the installation shell is downloading
a binary. If not, it's more like a problem with installation shell itself.

[email protected] install /Users/creeper/work/projects/SugarDevelop/node_modules/node-sass> node scripts/install.js

tell user it's downloading something

download sass binary...


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/1544#issuecomment-218705409

简直不能忍了,连个进度条都没有

@zcoding An alternative:

npm i -g cnpm
cnpm i node-sass #cnpm will proxy the downloading

We use npm's proxy configuration if you set it.
On 30 May 2016 12:23 PM, "Creeper" [email protected] wrote:

@zcoding https://github.com/zcoding An alternative:

npm i -g cnpm
cnpm i node-sass #cnpm will proxy the downloading


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1544#issuecomment-222399689,
or mute the thread
https://github.com/notifications/unsubscribe/AAjZWKS7bjs6KK4V_EXVtmBllqPCpjmNks5qGkowgaJpZM4Ictyq
.

Was this page helpful?
0 / 5 - 0 ratings