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

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

在npm run build 中出現(xiàn)的問題,rules也配置了

Entrypoint main = bundle.js
[0] (webpack)/buildin/global.js 472 bytes {0} [built]
[1] ./src/app.vue?vue&type=template&id=5ef48958& 168 bytes {0} [built] [failed] [1 error]
[3] ./src/app.vue?vue&type=style&index=0&lang=css& 184 bytes {0} [built] [failed] [1 error][7] ./src/index.js + 3 modules 4.01 KiB {0} [built] [1 error]
??? | ./src/index.js 181 bytes [built]
??? | ./src/app.vue 1.09 KiB [built] [1 error]
??? | ./src/app.vue?vue&type=script&lang=js& 107 bytes [built]
??? |???? + 1 hidden module
??? + 4 hidden modules

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/configuration/mode/

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.
?@ ./src/index.js 2:0-27 8:18-21

ERROR in ./src/app.vue?vue&type=style&index=0&lang=css& 16:0
Module parse failed: Unexpected character '#' (16:0)
You may need an appropriate loader to handle this file type.
|
|
> #test{
|???? color: red;
| }
?@ ./src/app.vue 4:0-63
?@ ./src/index.js

ERROR in ./src/app.vue?vue&type=template&id=5ef48958& 2:0
Module parse failed: Unexpected token (2:0)
You may need an appropriate loader to handle this file type.
|
> <div id="test">{{text}}</div>
|
?@ ./src/app.vue 1:0-82 11:2-8 12:2-17
?@ ./src/index.js
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! vue-ssr-tech@1.0.0 build: `webpack --config webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the vue-ssr-tech@1.0.0 build 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\asus\AppData\Roaming\npm-cache\_logs\2019-05-19T09_00_19_705Z-debug.log

正在回答

2 回答

vue-loader 在新版里面做了改變,要在wepack 的配置plugins 里面加上VueLoaderPlugin


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

qq_煙雨_iuvLWX

照這個改了但是依然報錯
2019-06-12 回復(fù) 有任何疑惑可以回復(fù)我~

你再看看app.vue和index.js文件是否單詞拼錯或者符號有問題。

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

舉報

0/150
提交
取消

在npm run build 中出現(xiàn)的問題,rules也配置了

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

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

幫助反饋 APP下載

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

公眾號

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