how to resolve error opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' vuejs start

"serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
 "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build src --skip-plugins @vue/cli-plugin-eslint",

 "lint": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint" 



Thanks to: 

node.js - Node 17.0.1 causes some error - digital envelope routines::unsupported - Stack Overflow

Comments