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 也沒有起作用 但是可以看的出

 

可以看的出 是因為下載不了  

這個時候 不知道為啥下載不了 

換了淘寶鏡像 又試了一下 可以了

cnpm install node-sass 

不行的 可以試試 我的親測可以的

 

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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM