OpenAS2 / OpenAs2App

OpenAS2 is a java-based implementation of the EDIINT AS2 standard. It is intended to be used as a server. It is extremely configurable and supports a wide variety of signing and encryption algorithms.
https://sourceforge.net/projects/openas2/
GNU General Public License v3.0
185 stars 137 forks source link

What the node && vue version are required for WebUI #305

Closed Zero-Xiong closed 1 year ago

Zero-Xiong commented 2 years ago

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:

ChirsGod commented 1 year ago

me too,Have you solved your problem?

igwtech commented 1 year ago

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.

ChirsGod commented 1 year ago

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

brianpeiris commented 1 year ago

The correct version of node.js is v16. I fixed this Dockerfile_WebUI as well as several other issues with the WebUI in #315

brianpeiris commented 1 year ago

I think this can be closed now. Hopefully #315 will resolve this confusion around versions and dependencies now that it is merged.