Reason: the version of node is higher than 16, the version of the project is not higher than 16, and OpenSSL is updated after node17.
Solution:
Method 1:
Modify the environment variable at the command line: $env:NODE_OPTIONS="--openssl-legacy-provider"
In the start project: yarn start
Method 2.
Use nvm to modify the node to a version no higher than 16
Read More:
- [Solved] NUXT.JS. npm run dev Error: Error: error:0308010C:digital envelope routines::unsupported
- Error: error:0308010C:digital envelope routines::unsupported [How to Solve]
- [Solved] Vue Error: error:0308010C:digital envelope routines::unsupported
- [Solved] Error: error:0308010C:digital envelope routines::unsupported
- [Solved] Error: error:0308010C:digital envelope routines::unsupported
- How to Solve Vue project Startup Error (Node Upgrade issue)
- npm run dev Error: opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error‘ ]
- CRA 5.0.0 Add Proxy Project Start Error [How to Solve]
- [Solved] npm run start Error: Exit status 3221225477
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- [Solved] npm run start Run Error: Missing script: “start“
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- [Solved] NPM err! Cannot read property ‘parent’ of null npm ERR! A complete log of this run can be found in: npm ERR!
- [Solved] Node.js v17 npm run dev Error: opensslErrorStack
- [Solved] Vue Start Project Error: ValidationError: webpack Dev Server Invalid Options
- [Solved] Vue3 npm ERR code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
- [Weex]Error in creating project NPM: unable to load file D:\program files\nodejs\node_ global\ weex.ps1 Because scripts are not allowed to run on this system.
- [Solved] Npm install Error: verbose stack Error: unable to resolve dependency tree
- [Solved] Vue create Create Project Error: command failed: npm install –loglevel error
- [Solved] start value has mixed support, consider using flex-start instead