第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

npm run build報錯


WARNING in configuration

The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.

You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/


ERROR in ./src/app.vue

Module Error (from ./node_modules/vue-loader/lib/index.js):

[vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.

?@ ./src/index.js 2:0-28 9:21-24


ERROR in ./src/app.vue

Module Error (from ./node_modules/vue-loader/lib/index.js):

vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.ueLoaderPlugin in your webpack config.

?@ ./src/index.js 2:0-28 9:21-24


ERROR in ./src/app.vue

Module build failed (from ./node_modules/vue-loader/lib/index.js):

TypeError: Cannot read property 'parseComponent' of undefined? ? ? ? ? ? ? ?nt-compiler-utils\dist\parse.js:14:23)

? ? at parse (C:\Users\Doris\Desktop\vue-todo-demo\node_modules\@vue\componeles\vue-loader\lib\index.js:67:22)nt-compiler-utils\dist\parse.js:14:23)

? ? at Object.module.exports (C:\Users\Doris\Desktop\vue-todo-demo\node_modules\vue-loader\lib\index.js:67:22)

?@ ./src/index.js 2:0-28 9:21-24

npm ERR! code ELIFECYCLE

npm ERR! errno 2

npm ERR! doris@1.0.0 build: `webpack --config webpack.config.js`

npm ERR! Exit status 2? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?logging output above.

npm ERR!

npm ERR! Failed at the doris@1.0.0 build script.

npm ERR! This is probably not a problem with npm. There is likely additional_54_770Z-debug.log logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!? ? ?C:\Users\Doris\AppData\Roaming\npm-cache\_logs\2019-05-09T02_19_54_770Z-debug.log


正在回答

3 回答

https://img1.sycdn.imooc.com//5d1ea8660001385f06680365.jpg

https://img1.sycdn.imooc.com//5d1ea8660001f5ab06650550.jpg

https://img1.sycdn.imooc.com//5d1ea8440001757209090398.jpg

修改了前面兩個頁面后,完美解決該問題

0 回復(fù) 有任何疑惑可以回復(fù)我~

https://img1.sycdn.imooc.com//5ceb79300001bd9f04320153.jpg我加了mode就好了? 有提示的

0 回復(fù) 有任何疑惑可以回復(fù)我~

已解決,現(xiàn)在有如下問題:

WARNING in configurationThe 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.

You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

最不強程序員

解決了能把解決方法貼在上面那嗎,很多人都有
2019-05-22 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
Vue+Webpack打造todo應(yīng)用
  • 參與學(xué)習(xí)       84619    人
  • 解答問題       812    個

用前端最熱門框架Vue+最火打包工具Webpack打造todo應(yīng)用

進入課程

npm run build報錯

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號