I seem to have encountered this before. I haven’t played react for a while. Is it a problem with the node-sass version? What's the problem? React master please help me
PHP中文网2017-05-16 13:36:03
This feels like node-sass was not installed successfully, causing the content under the file to not be found. node-sass seems to need to download something from other places during the final installation. The speed in China is impressive, using the taobao mirror of node-sass
SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ npm install node-sass
Or, at ~/.npmrc
里面加上 sass_binary_site=https://npm.taobao.org/mirrors/node-sass/