前端项目 打包 需要配置什么内容吗

Blade 未结 1 1320
lhh
lhh 2020-07-14 10:22

一、该问题的重现步骤是什么?

1. 前端项目 打包 需要配置什么内容吗

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

BladeX  2.5.1

window 10

四、请提供详细的错误堆栈信息,这很重要。


/  Building for production...events.js:167

      throw er; // Unhandled 'error' event

      ^


Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed

    at doWrite (_stream_writable.js:406:19)

    at writeOrBuffer (_stream_writable.js:394:5)

    at Socket.Writable.write (_stream_writable.js:294:11)

    at PoolWorker.writeJson (E:\Saber-master\saber\node_modules\thread-loader\dist\WorkerPool.js:122:20)

    at PoolWorker.run (E:\Saber-master\saber\node_modules\thread-loader\dist\WorkerPool.js:104:10)

    at WorkerPool.distributeJob (E:\Saber-master\saber\node_modules\thread-loader\dist\WorkerPool.js:336:15)

    at runQueue (E:\Saber-master\saber\node_modules\neo-async\async.js:8099:9)

    at process._tickCallback (internal/process/next_tick.js:61:11)

Emitted 'error' event at:

    at onwriteError (_stream_writable.js:425:12)

    at onwrite (_stream_writable.js:456:5)

    at doWrite (_stream_writable.js:406:11)

    at writeOrBuffer (_stream_writable.js:394:5)

    [... lines matching original stack trace ...]

    at process._tickCallback (internal/process/next_tick.js:61:11)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! saber-admin@2.5.1 build: `vue-cli-service build`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the saber-admin@2.5.1 build 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!     D:\Program Files\nodejs\node_cache\_logs\2020-07-14T02_02_29_243Z-debug.log

五、若有更多详细信息,请在下面提供。

1条回答
提交回复