为了账号安全,请及时绑定邮箱和手机立即绑定

htmlWebpackPlugin 报错

SyntaxError: Unexpected token ;

    at createScript (vm.js:80:10)

    at Object.runInThisContext (vm.js:139:10)

    at Module._compile (module.js:599:28)

    at Object.Module._extensions..js (module.js:646:10)

    at Module.load (module.js:554:32)

    at tryModuleLoad (module.js:497:12)

    at Function.Module._load (module.js:489:3)

    at Module.require (module.js:579:17)

    at require (internal/module.js:11:18)

    at requireConfig (E:\vue\webpack-demo\node_modules\_webpack@3.8.1@webpack\bin\convert-argv.js:97:18)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

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

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the webpack-demo@1.0.0 webpack 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\Administrator\AppData\Roaming\npm-cache\_logs\2017-11-14T09_09_16_805Z-debug.log


正在回答

2 回答

老包的表情太给力了,我都不会了

atdyyfyhqmnoyaruclutypiysticirkyybgznrchfvyrdxwukluixmxzj

0 回复 有任何疑惑可以回复我~

语法错误,对象里面多了个;号

1 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

htmlWebpackPlugin 报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信