search

Home  >  Q&A  >  body text

node.js - Is this a node-sass version issue?

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

怪我咯怪我咯2834 days ago631

reply all(3)I'll reply

  • PHP中文网

    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/

    reply
    0
  • 黄舟

    黄舟2017-05-16 13:36:03

    Not sure, install it with cnpm and give it a try

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 13:36:03

    http://www.w2bc.com/article/1...

    reply
    0
  • Cancelreply