webpack-obfuscator运行报错
webpack 版本:3.6.0webpack-obfuscator版本:0.28.4build时报错:building for production...F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\webpack-obfuscator\dist\index.js:22compiler.ho
·
webpack 版本:3.6.0
webpack-obfuscator版本:0.28.4
build时报错:
building for production...F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\webpack-obfuscator\dist\index.js:22
compiler.hooks.emit.tap(pluginName, (compilation) => {
^
TypeError: Cannot read property 'emit' of undefined
at WebpackObfuscator.apply (F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\webpack-obfuscator\dist\index.js:22:24)
at Compiler.apply (F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\tapable\lib\Tapable.js:375:16)
at webpack (F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\webpack\lib\webpack.js:33:19)
at F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\build\build.js:19:3
at next (F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\rimraf\rimraf.js:83:7)
at CB (F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\rimraf\rimraf.js:119:9)
at F:\0du\code\Code-JavaScript\VUE\immovableculturalrelic\vue-src\node_modules\rimraf\rimraf.js:145:14
at FSReqCallback.oncomplete (fs.js:158:21)
请问,该怎么解决?
更多推荐
已为社区贡献1条内容
所有评论(0)