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
- [Solved] Node.js v17 npm run dev Error: opensslErrorStack
- CRA 5.0.0 Add Proxy Project Start Error [How to Solve]
- [Solved] Npm install Error: verbose stack Error: unable to resolve dependency tree
- [Solved] ERROR Error loading vue.config.js: ERROR Error: Command failed: git describe
- [Solved] Node sass version 7.0.0 is incompatible with ^ 4.0.0 | ^ 5.0.0 | ^ 6.0.0
- React project is packaged and set as required Error [How to Solve]
- [Solved] vite package Error: globalThis is not defined
- [Solved] Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- [Solved] Vue3 Error: Cant find variable: GlobalThis
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] Syntax Error: Error: Node Sass does not yet support your current environment: Windows 64-bit with
- Vue Install less Error: While resolving: [email protected]
- [Solved] Msbuild: error msb3428: the group cannot use the visual c + + function “vcbuild. Exe”.
- Vue-cli2 sub environment packaging
- [Solved] Error spawn CMD enoent errno when starting Vue project: – 4058
- How to Solve Vue-devtool Package Error
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils