???
-
老項目npm install 下載依賴包報錯
-
解決方法:
//下載python
1、 npm install --global --production windows-build-tools
//配置環(huán)境 : 也可暫時不用配置,能用就不用配置
(npm config set python "D:\Python27\python.exe" npm config set node_gyp)
2、 //下載 fibers
npm install fibers@5.0.0 --ignore-scripts
3、//重新執(zhí)行下載依賴命令
npm install
//如果不好使 可以試試再執(zhí)行:
npm install --unsafe-perm
yum install gcc-c++ 也需要下載
// 然后重新執(zhí)行npm install
?文章來源地址http://www.zghlxwxcb.cn/news/detail-633362.html
?
?
??
?
??文章來源:http://www.zghlxwxcb.cn/news/detail-633362.html
?
到了這里,關(guān)于vue 老項目 npm install 報錯Python,c++等相關(guān)錯誤的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!