Vue3 npm ERR code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
1. Vue3 create project error
vue create test1
npm ERR! code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
The detailed error is as follows:
npm ERR! code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
npm ERR! 2240:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:677:
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\qianle102\AppData\Local\npm-cache\_logs\2022-05-28T07_44_19_121Z-debug-0.log
ERROR Error: command failed: npm install --loglevel error --legacy-peer-deps
Error: command failed: npm install --loglevel error --legacy-peer-deps
at ChildProcess.<anonymous> (C:\Users\qianle102\AppData\Roaming\npm\node_modules\@vue\cli\lib\util\executeCommand.js:138:16)
at ChildProcess.emit (node:events:527:28)
at ChildProcess.cp.emit (C:\Users\qianle102\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
The second error is the error of the python download command. That is, the python command is used during the installation of vue3.
If Python is not installed on this computer, an error will be reported.
2. Solutions
Download the phthon installation package and install the python framework
Read More:
- How to Solve NPM installation -g @view/client Error
- [Solved] gyp ERR! stack Error: Could not find any Python installation to use
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- [Solved] Temporary error: Error: spawn E:\vue3-vite\my-app\node_modules\esbuild\esbuild.exe ENOENT
- Vue Install less Error: While resolving: [email protected]
- [Solved] Npm install Error: verbose stack Error: unable to resolve dependency tree
- [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] NPM node ERROR in main..js from Terser ChildProcessWorker.initialize Excaption
- [Solved] npm run start Error: Exit status 3221225477
- [Solved] NPM err! Cannot read property ‘parent’ of null npm ERR! A complete log of this run can be found in: npm ERR!
- [Solved] Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.
- [Solved] Error spawn CMD enoent errno when starting Vue project: – 4058
- Vue Error: renren-fast-vue execute npm install Error [How to Solve]
- [Solved] ERROR Error: Cannot find module ‘vue-loader-v16/package.json‘
- [Solved] Vue Error: Module build failed: Error: No PostCSS Config found in
- [Solved] node-xlsx Write excel Error: TypeError: n.indexOf is not a function
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- [Solved] Node.js v17 npm run dev Error: opensslErrorStack