egg-admin-service
egg-admin-service copied to clipboard
jenkins打包部署报错,本地mac环境可以
node:10.15.3 npm:6.4.1 centOs:6.9
��� Webpack Compiled with some errors in 1.63m
ERROR Failed to compile with 14 errors9:21:43 AM
Unhandled rejection TypeError: Cannot read property 'stats' of undefined
at getErrorInfo (/root/.jenkins/workspace/test_3.0/node_modules/af-webpack/lib/build.js:137:14)
at /root/.jenkins/workspace/test_3.0/node_modules/af-webpack/lib/build.js:110:16
at finalCallback (/root/.jenkins/workspace/test_3.0/node_modules/webpack/lib/MultiCompiler.js:254:12)
at runWithDependencies.err (/root/.jenkins/workspace/test_3.0/node_modules/webpack/lib/MultiCompiler.js:275:14)
at /root/.jenkins/workspace/test_3.0/node_modules/neo-async/async.js:2830:7
at done (/root/.jenkins/workspace/test_3.0/node_modules/neo-async/async.js:2925:13)
at err (/root/.jenkins/workspace/test_3.0/node_modules/webpack/lib/MultiCompiler.js:186:23)
at compiler.run (/root/.jenkins/workspace/test_3.0/node_modules/webpack/lib/MultiCompiler.js:267:15)
at finalCallback (/root/.jenkins/workspace/test_3.0/node_modules/webpack/lib/Compiler.js:257:39)
at hooks.done.callAsync.err (/root/.jenkins/workspace/test_3.0/node_modules/webpack/lib/Compiler.js:272:22)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/root/.jenkins/workspace/test_3.0/node_modules/tapable/lib/HookCodeFactory.js:33:10),