Skip to content

Instantly share code, notes, and snippets.

@ricardoaugusto
Created February 2, 2024 10:00
Show Gist options
  • Save ricardoaugusto/46135aae05d038398900841c32c4c117 to your computer and use it in GitHub Desktop.
Save ricardoaugusto/46135aae05d038398900841c32c4c117 to your computer and use it in GitHub Desktop.
Fixes ERR_OSSL_EVP_UNSUPPORTED when running vue-cli-service on Node.js > 17 on macOS
"scripts": {
"start": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"serve": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e",
"lint": "vue-cli-service lint"
}
@ricardoaugusto
Copy link
Author

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