Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not build with node 18 #246

Open
bourgeoa opened this issue Mar 17, 2024 · 0 comments
Open

do not build with node 18 #246

bourgeoa opened this issue Mar 17, 2024 · 0 comments

Comments

@bourgeoa
Copy link
Collaborator

bourgeoa commented Mar 17, 2024

To make it build with node 18.
I tried to add on top of webpack-config.js

const crypto = require("crypto");
const crypto_orig_createHash = crypto.createHash;
crypto.createHash = algorithm => crypto_orig_createHash(algorithm == "md4" ? "sha256" : algorithm);

Then build with node 18 works , but much more tests fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant