KnowAgent icon indicating copy to clipboard operation
KnowAgent copied to clipboard

使用agent-manager的sh build.sh时,一致编译失败

Open zjy090 opened this issue 2 years ago • 2 comments

system-metrcis mvn clean install成功 但是使用agent-manager的sh build.sh时,出了很多的错误,单独进行npm install是正常的。 [INFO] ERROR in js/0.806a3df8490afc159ea4.js from Terser [INFO] Error: error:0308010C:digital envelope routines::unsupported [INFO] at new Hash (node:internal/crypto/hash:69:19) [INFO] at Object.createHash (node:crypto:133:10) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:217:37 [INFO] at Array.forEach () [INFO] at TerserPlugin.optimizeFn (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:160:259) [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :12:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1409:36 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1405:32 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.seal (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1342:27) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:675:18 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1261:4 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.finish (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1253:28) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:672:17 [INFO] at _done (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at eval (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :32:22) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1185:12 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1097:9 [INFO] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [INFO] [INFO] ERROR in js/1.396bec59f77a0c78971e.js from Terser [INFO] Error: error:0308010C:digital envelope routines::unsupported [INFO] at new Hash (node:internal/crypto/hash:69:19) [INFO] at Object.createHash (node:crypto:133:10) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:217:37 [INFO] at Array.forEach () [INFO] at TerserPlugin.optimizeFn (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:160:259) [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :12:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1409:36 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1405:32 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.seal (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1342:27) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:675:18 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1261:4 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.finish (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1253:28) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:672:17 [INFO] at _done (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at eval (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :32:22) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1185:12 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1097:9 [INFO] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [INFO] [INFO] ERROR in js/2.81037d357a8c0713d4f0.js from Terser [INFO] Error: error:0308010C:digital envelope routines::unsupported [INFO] at new Hash (node:internal/crypto/hash:69:19) [INFO] at Object.createHash (node:crypto:133:10) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:217:37 [INFO] at Array.forEach () [INFO] at TerserPlugin.optimizeFn (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:160:259) [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :12:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1409:36 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1405:32 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.seal (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1342:27) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:675:18 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1261:4 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.finish (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1253:28) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:672:17 [INFO] at _done (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at eval (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :32:22) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1185:12 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1097:9 [INFO] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [INFO] [INFO] ERROR in js/3.97a48913281c710806fd.js from Terser [INFO] Error: error:0308010C:digital envelope routines::unsupported [INFO] at new Hash (node:internal/crypto/hash:69:19) [INFO] at Object.createHash (node:crypto:133:10) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:217:37 [INFO] at Array.forEach () [INFO] at TerserPlugin.optimizeFn (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:160:259) [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :12:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1409:36 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1405:32 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.seal (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1342:27) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:675:18 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1261:4 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.finish (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1253:28) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:672:17 [INFO] at _done (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at eval (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :32:22) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1185:12 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1097:9 [INFO] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [INFO] [INFO] ERROR in js/4.5585632903a28726496c.js from Terser [INFO] Error: error:0308010C:digital envelope routines::unsupported [INFO] at new Hash (node:internal/crypto/hash:69:19) [INFO] at Object.createHash (node:crypto:133:10) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:217:37 [INFO] at Array.forEach () [INFO] at TerserPlugin.optimizeFn (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:160:259) [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :12:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1409:36 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1405:32 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.seal (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1342:27) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:675:18 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1261:4 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.finish (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1253:28) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:672:17 [INFO] at _done (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at eval (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :32:22) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1185:12 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1097:9 [INFO] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [INFO] [INFO] ERROR in js/5.4571949a8c779e162c14.js from Terser [INFO] Error: error:0308010C:digital envelope routines::unsupported [INFO] at new Hash (node:internal/crypto/hash:69:19) [INFO] at Object.createHash (node:crypto:133:10) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:217:37 [INFO] at Array.forEach () [INFO] at TerserPlugin.optimizeFn (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:160:259) [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :12:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1409:36 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1405:32 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.seal (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1342:27) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:675:18 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1261:4 [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1) [INFO] at AsyncSeriesHook.lazyCompileHook (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\Hook.js:154:20) [INFO] at Compilation.finish (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1253:28) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compiler.js:672:17 [INFO] at _done (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:1) [INFO] at eval (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :32:22) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1185:12 [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\webpack\lib\Compilation.js:1097:9 [INFO] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [INFO] [INFO] ERROR in js/agent.73ee07d6feac2ca44f16.js from Terser [INFO] Error: error:0308010C:digital envelope routines::unsupported [INFO] at new Hash (node:internal/crypto/hash:69:19) [INFO] at Object.createHash (node:crypto:133:10) [INFO] at G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:217:37 [INFO] at Array.forEach () [INFO] at TerserPlugin.optimizeFn (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\terser-webpack-plugin\dist\index.js:160:259) [INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create (G:\knowAgent\KnowAgent\agent-manager\agent-manager-console\node_modules\tapable\lib\HookCodeFactory.js:33:10), :12:1)

zjy090 avatar Nov 22 '23 07:11 zjy090

nodejs & npm 什么版本呢?

huqidong avatar Nov 24 '23 00:11 huqidong

nodejs & npm 什么版本呢?

18 verbose node v12.20.0 19 verbose npm v6.14.8 20 error code ELIFECYCLE 21 error errno 2 22 error [email protected] build: cross-env NODE_OPTIONS=--max-old-space-size=8192 webpack --config webpack.prod.config.js 22 error Exit status 2 23 error Failed at the [email protected] build script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 2, true ]

这个版本是通过pom.xml里配置产生的 install node and npm install-node-and-npm <nodeVersion>v12.20.0</nodeVersion> <npmVersion>6.14.8</npmVersion>

zjy090 avatar Feb 27 '24 02:02 zjy090