npminstall報(bào)錯(cuò)(npmERR!errno1)

最好看錯(cuò)誤提示,若缺少包文件,就依次安裝

上栗網(wǎng)站建設(shè)公司創(chuàng)新互聯(lián)公司,上栗網(wǎng)站設(shè)計(jì)制作,有大型網(wǎng)站制作公司豐富經(jīng)驗(yàn)。已為上栗超過(guò)千家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\成都外貿(mào)網(wǎng)站建設(shè)公司要多少錢(qián),請(qǐng)找那個(gè)售后服務(wù)好的上栗做網(wǎng)站的公司定做!

問(wèn)題一

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall: `node lib/post_install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\xiant_000\AppData\Roaming\npm-cache\_logs\2019-09-14T23_49_41_121Z-debug.log

解決一

進(jìn)入項(xiàng)目目錄,運(yùn)行命令:
npm install --save-dev postinstall
npm audit fix --force

問(wèn)題二

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.9.2 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.9.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

解決二

進(jìn)入項(xiàng)目目錄,運(yùn)行命令:
npm install --save-dev node-sass
npm audit fix --force
或
npm rebuild node-sass(未測(cè)試)

問(wèn)題三

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sell@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sell@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\xiant_000\AppData\Roaming\npm-cache\_logs\2019-09-15T00_18_31_634Z-debug.log

解決三

npm install --save-dev webpack
npm audit fix --force

網(wǎng)站欄目:npminstall報(bào)錯(cuò)(npmERR!errno1)
本文鏈接:http://muchs.cn/article28/iepejp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供營(yíng)銷(xiāo)型網(wǎng)站建設(shè)、網(wǎng)站排名、網(wǎng)頁(yè)設(shè)計(jì)公司、電子商務(wù)網(wǎng)站制作、動(dòng)態(tài)網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

成都網(wǎng)站建設(shè)