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

node version>=18.0.0 makes digital envelope routines unsupported error #2

Open
ingyer-ks opened this issue Nov 27, 2022 · 0 comments
Open

Comments

@ingyer-ks
Copy link

Dear Anna,
I got another problem.
Gatsby requires node version>=18.0.0, but with this node version I had to deal with
error:0308010C:digital envelope routines::unsupported.
The solution is found in https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported which is based on webpack/webpack#14532 (comment) which says you need environment variable NODE_OPTIONS=--openssl-legacy-provider(due to gatsby's node version dependency, I couldn't resolve this issue by using old node such as 16.13.1)
I hope you and who may be in trouble get help.
Thank you.

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