問題描述
安裝sass文章來源:http://www.zghlxwxcb.cn/news/detail-836310.html
# "node-sass": "^4.9.0"
npm i node-sass
報(bào)錯(cuò)如下文章來源地址http://www.zghlxwxcb.cn/news/detail-836310.html
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.14.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
解決辦法
npm install node-sass \
--unsafe-perm \
--registry=https://registry.npmmirror.com \
--sass_binary_site=https://registry.npmmirror.com/binary.html?path=node-sass/
參考
- Failed at the node-sass@4.14.1 postinstall script. npm ERR This is probably not a problem with npm
到了這里,關(guān)于Failed at the node-sass@4.14.1 postinstall script.的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!