Skip to content

Fix npm run start ERR_OSSL_EVP_UNSUPPORTED #317

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leagris
Copy link

@leagris leagris commented Aug 16, 2024

On newer NodeJs versions, the environment variable NODE_OPTIONS=--openssl-legacy-provider is required to be able to execute npm run start.

{
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

On newer NodeJs versions, the environment variable  `NODE_OPTIONS=--openssl-legacy-provider` is required to be able to execute `npm run start`.

```json
{
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
@@ -327,7 +327,7 @@ from running other commands in the meantime. In the new terminal, run this
command from within the `wasm-game-of-life/www` directory:

```
npm run start
NODE_OPTIONS=--openssl-legacy-provider npm run start

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a different, clean solution to this error: #324

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

Successfully merging this pull request may close these issues.

2 participants