Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以正常编译浏览,但是打包报错 #65

Open
zzhij opened this issue Jul 31, 2019 · 0 comments
Open

可以正常编译浏览,但是打包报错 #65

zzhij opened this issue Jul 31, 2019 · 0 comments

Comments

@zzhij
Copy link

zzhij commented Jul 31, 2019

问题:每次打包出现下面的错误,运行查看正常
`Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 5)
Cannot read property 'vueMarkdownOptions' of undefined
at PoolWorker.fromErrorObj (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:258:12)
at D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:200:29
at mapSeries (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\neo-async\async.js:3625:14)
at PoolWorker.onWorkerMessage (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:166:35)
at readBuffer (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:148:14)
at Socket.onChunk (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\readBuffer.js:36:9)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Socket.Readable.read (_stream_readable.js:475:10)
at flow (_stream_readable.js:846:34)
at Object.module.exports (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\vue-markdown-loader\lib\markdown-compiler.js:67:46)

Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 6)
Cannot read property 'vueMarkdownOptions' of undefined
at PoolWorker.fromErrorObj (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:258:12)
at D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:200:29
at mapSeries (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\neo-async\async.js:3625:14)
at PoolWorker.onWorkerMessage (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:166:35)
at readBuffer (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\WorkerPool.js:148:14)
at Socket.onChunk (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\thread-loader\dist\readBuffer.js:36:9)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Socket.Readable.read (_stream_readable.js:475:10)
at flow (_stream_readable.js:846:34)
at Object.module.exports (D:\github\learn\vue\vue-cli3.0\vue-md-v\node_modules\vue-markdown-loader\lib\markdown-compiler.js:67:46)

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dm-ui@0.1.0 build: vue-cli-service build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dm-ui@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant