node.js - npm install 报错 Failed at the node-sass
PHPz
PHPz 2017-04-17 16:27:56
0
5
1221
PHPz
PHPz

学习是最好的投资!

reply all(5)
左手右手慢动作

It may be that the system variable path configuration is incorrect, you can check it

伊谢尔伦

node-sass has many installation dependencies, so it may not be blocked. It is recommended to use the cnpm command

npm install -g cnpm --registry=https://registry.npm.taobao.org
PHPzhong

Search nrm and learn to use it

Ty80

https://segmentfault.com/a/11...
Solved according to this:
sass_binary_site=https://npm.taobao.org/mirror...

Or add the following line (for reference) in ~/.npmrc, save it and then npm install
(If you are using cnpm, you need to add it to ~/.cnpmrc)

sass_binary_site=https://npm.taobao.org/mirror...

迷茫

Try changing the source. node-sass may be blocked

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template