Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 9)
compiler.parseComponent is not a function
at PoolWorker.fromErrorObj (C:\Users\Administrator.jenkins\workspace\Dev-fitshare\jobs\node_modules\thread-loader\dist\WorkerPool.js:258:12)
at C:\Users\Administrator.jenkins\workspace\Dev-fitshare\jobs\node_modules\thread-loader\dist\WorkerPool.js:200:29
at parse (C:\Users\Administrator.jenkins\workspace\Dev-fitshare\jobs\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (C:\Users\Administrator.jenkins\workspace\Dev-fitshare\jobs\node_modules\vue-loader\lib\index.js:67:22)
@ ./src/pages/mp/bind.vue?vue&type=script&lang=js& 1:0-671 1:687-690 1:692-1360 1:692-1360
@ ./src/pages/mp/bind.vue
@ ./src/pages.json
@ ./src/main.js
@ multi ./src/main.js
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jobs@0.1.0 build:h5: cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jobs@0.1.0 build:h5 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\2019-05-16T08_23_30_811Z-debug.log
Build step '执行 Windows 批处理命令' marked build as failure
Finished: FAILURE
如有解决方法请联系:chenxueyong@marisfrolg.com
万分感谢!!!
2 个回复
阿海2019
我也遇到这个问题。没有解决思路。。
DCloud_uni-ad_HDX
HBuilderX 1.9.7 已修复