node-sass安裝報錯解決方法

安裝

npm install node-sass

設置國內鏡像

npm install -g mirror-config-china --registry=http://registry.npm.taobao.org
npm install node-sass

沒權限permission denied

npm install node-sass --unsafe-perm=true --allow-root
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章