Error: error:0308010C:digital envelope routines::unsupported
npm run serve error: error:0308010C
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\Item\springbootVue\springboot\vue\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\Item\springbootVue\springboot\vue\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\Item\springbootVue\springboot\vue\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\Item\springbootVue\springboot\vue\node_modules\webpack\lib\NormalModule.js:503:5
Solution:
set NODE_OPTIONS=–openssl-legacy-provider
D:\Item\springboot\vue>set NODE_OPTIONS=--openssl-legacy-provider
D:\Item\springboot\vue>npm run serve
> [email protected] serve
> vue-cli-service serve
It can run successfully
The main reason is the incompatibility of versions
Read More:
- Error: error:0308010C:digital envelope routines::unsupported [How to Solve]
- [Solved] Error: error:0308010C:digital envelope routines::unsupported
- [Solved] NUXT.JS. npm run dev Error: Error: error:0308010C:digital envelope routines::unsupported
- [Solved] Vue Error: error:0308010C:digital envelope routines::unsupported
- [Solved] NPM Start Project Error: ‘Error: error:0308010C:digital envelope routines::unsupported’
- [Solved] Node.js v17 npm run dev Error: opensslErrorStack
- [Solved] Syntax Error: Error: Node Sass does not yet support your current environment: OS X Unsupported archi
- How to Solve Vue project Startup Error (Node Upgrade issue)
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] Msbuild: error msb3428: the group cannot use the visual c + + function “vcbuild. Exe”.
- runtime-core.esm-bundler.js5c406620 [Vue warn] Unhandled error during execution of native event h
- [Solved] MSBUILD : error MSB3428: Could not load the Visual C++ component “VCBuild.exe“
- npm run dev Error: opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error‘ ]
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- [Solved] ERROR Error: Cannot find module ‘vue-loader-v16/package.json‘
- [Solved] error:chunkgroup.addoptions:no option merge strategy for name
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- [Solved] Error Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Error Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Vue3 npm ERR code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC