Installation node-sass fail under windows, suggesting \ node-sass: Command failed, solutions

 Excuting an order

yarn add node-sass@4.7.2 --dev --registry=https://registry.npm.taobao.org

: Error

This problem occurs because the network is usually the problem is the wall, and this time we may wish to try another source

config SET Registry yarn  https://registry.npm.taobao.org/ yarn download source provided by the command

Finally, execute the following command to install success

pm and node-sass @ 4.7 . 2 -D --registry = https: // registry.npm.taobao.org

 

Guess you like

Origin www.cnblogs.com/pongx/p/11824518.html