npm install 報node-sass錯誤

Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 6.x

Found bindings for the following environments:
- OS X 64-bit with Node.js 6.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.

而後 照着提示 運行 npm rebuild node-sass --force 也沒有起做用 可是能夠看的出node

 

能夠看的出 是由於下載不了  npm

這個時候 不知道爲啥下載不了 sass

換了淘寶鏡像 又試了一下 能夠了app

cnpm install node-sass ui

不行的 能夠試試 個人親測能夠的spa

 

網上說這個報錯多是版本問題  我也沒深究code

相關文章
相關標籤/搜索