1.Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v67-darwin-x64.tar.gz
解决方法
转载https://github.com/fsevents/fsevents/issues/246
npm install fsevents
2.mac安装问题 xcrun: error: active developer path ("/Library/Developer/CommandLineTools") does not exist Use sudo xcode-select --switch path/to/Xcode.app
to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install
to install the standalone command line developer tools. See man xcode-select
for more details.
解决办法
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
3.mac安装 node-sass 常常不成功
解决办法
转载https://github.com/lmk123/blog/issues/28
在项目内添加一个 .npmrc 文件:
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/
electron_mirror=https://npm.taobao.org/mirrors/electron/
registry=https://registry.npm.taobao.org