Metabase – 从docker中的源代码构buildwebpack时出错

使用git上提供的dockerfile从docker构build源代码库构build元数据库时,我无法通过以下与webpack相关的错误。 我是新来的webpack,babel和uglify所以有点失落在这里。 任何方向都会很棒。

package.json中的webpack版本是3.6.0

ERROR in 2.bundle.js?fa2f7c1988898102e345 from UglifyJs Invalid assignment [2.bundle.js?fa2f7c1988898102e345:1120,34] Child html-webpack-plugin for "../../index.html": 1 asset [0] /src/node_modules/html-webpack-plugin/lib/loader.js!/src/resources/frontend_client/index_template.html 4.34 kB {0} [built] [2] (webpack)/buildin/global.js 488 bytes {0} [built] [3] (webpack)/buildin/module.js 495 bytes {0} [built] + 1 hidden module Child html-webpack-plugin for "../../public.html": 1 asset [0] /src/node_modules/html-webpack-plugin/lib/loader.js!/src/resources/frontend_client/index_template.html 4.34 kB {0} [built] [2] (webpack)/buildin/global.js 488 bytes {0} [built] [3] (webpack)/buildin/module.js 495 bytes {0} [built] + 1 hidden module Child html-webpack-plugin for "../../embed.html": 1 asset [0] /src/node_modules/html-webpack-plugin/lib/loader.js!/src/resources/frontend_client/index_template.html 4.34 kB {0} [built] [2] (webpack)/buildin/global.js 488 bytes {0} [built] [3] (webpack)/buildin/module.js 495 bytes {0} [built] + 1 hidden module 

Interesting Posts