首先,查看node和 npm版本
#用于列出已安裝的 Node.js 版本。
nvm ls
#切換node版本?
nvm use 12.17.0
#換國(guó)內(nèi)鏡像源:(單獨(dú)設(shè)置sass的安裝源。)文章來源:http://www.zghlxwxcb.cn/news/detail-807616.html
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
npm install --registry https://registry.npm.taobao.org
?文章來源地址http://www.zghlxwxcb.cn/news/detail-807616.html
到了這里,關(guān)于Failed at the node sass@4.14.1 postinstall script.的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!