hash.update(`${this.outputOptions.publicPath}`)
bigbigJ opened this issue · comments
vue2+cli3
项目启动 npm run dev报错,pdfjs-dis换了几个版本也不行,暂时无法解决
69% building 849/852 modules 3 active ...rker-loader/dist/cjs.js!/Users/liushuai/workCode/mygeno-cms-ui/node_modules/pdfjs-dist/es5/build/pdf.worker.js(node:35575) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks
instead
(node:35575) DeprecationWarning: Tapable.apply is deprecated. Call apply on the plugin directly instead
69% building 861/863 modules 2 active ...ygeno-cms-ui/node_modules/vue-resize-sensor/src/resize-sensor.vue?vue&type=style&index=0&id=0079a024&lang=css&/Users/liushuai/workCode/mygeno-cms-ui/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:97
hash.update(${this.outputOptions.publicPath}
);
TypeError: Cannot read property 'outputOptions' of undefined
at /Users/liushuai/workCode/mygeno-cms-ui/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:97:24
目前使用yarn上面的4.3.0版本可以正常使用,npm的有报错