Skip to content

Instantly share code, notes, and snippets.

@ricardoaugusto
Created February 2, 2024 10:19
Show Gist options
  • Save ricardoaugusto/b7b387695c496b8a0fbff54394e50ea7 to your computer and use it in GitHub Desktop.
Save ricardoaugusto/b7b387695c496b8a0fbff54394e50ea7 to your computer and use it in GitHub Desktop.
Fixes ERR_OSSL_EVP_UNSUPPORTED when running Nuxt 2 on Node.js > 17 on macOS
"scripts": {
"dev": "nuxt",
"build": "nuxt --openssl-legacy-provider build",
"start": "nuxt --openssl-legacy-provider start",
"generate": "nuxt --openssl-legacy-provider generate",
"lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .",
"lint:prettier": "prettier --check .",
"lint": "npm run lint:js && npm run lint:prettier",
"lintfix": "prettier --write --list-different . && npm run lint:js -- --fix"
},
@ricardoaugusto
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment