Closed Zero-Xiong closed 1 year ago
me too,Have you solved your problem?
I was able to verify successful building of the UI with:
node v19.7.0 vue 2.6.14 yarn 1.22.19
Had to run: export NODE_OPTIONS=--openssl-legacy-provider && yarn run build
To build, since Node v17+ uses OpenSSL3, which has changed code for initialization context of md family (including md4), and this is a breaking change.
I was able to verify successful building of the UI with:
node v19.7.0 vue 2.6.14 yarn 1.22.19
Had to run: export NODE_OPTIONS=--openssl-legacy-provider && yarn run build
To build, since Node v17+ uses OpenSSL3, which has changed code for initialization context of md family (including md4), and this is a breaking change.
Can you provide the code? I tried to build it locally but it still doesn't work
The correct version of node.js is v16. I fixed this Dockerfile_WebUI as well as several other issues with the WebUI in #315
I think this can be closed now. Hopefully #315 will resolve this confusion around versions and dependencies now that it is merged.
I failed to build the WebUI locally (but build docker image works). I guess would be the node version and vue version in my PC.
FYI. environment
Windows 11 (22H2) Node v16.18.1 @vue/cli 5.0.8 yarn v1.22.19 JDK 19 and JDK 17.0.5 both were tried (this one is not related with WebUI)
The error is like:
C:\OpenAs2App\WebUI>yarn run serve yarn run v1.22.19 $ vue-cli-service serve node:internal/modules/cjs/loader:988 throw err; ^
Error: Cannot find module 'clone' Require stack: