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:
- [Solved] Package Install Error: npm ERR code ERR_SOCKET_TIMEOUT npm ERR
- [Solved] NPM err! Cannot read property ‘parent’ of null npm ERR! A complete log of this run can be found in: npm ERR!
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- npm ERR code ELIFECYCLE [How to Solve]
- [Solved] Vue2 Cross-domain Error: AxiosError net::ERR_FAILED, Network Error, ERR_NETWORK
- [Solved] npm install Error: error code ERR_SOCKET_TIMEOUT
- Vue installation @ Vue/cli error: npmerr gyp err
- [Solved] gyp ERR! stack Error: Could not find any Python installation to use
- [Solved] Deploy the front-end package online. Net:: err_SSL_PROTOCOL_ERROR
- [Solved] /sockjs-node/info?t= net::ERR_SSL_PROTOCOL_ERROR
- After installing NPM, NRM LS reports an error throw new err_INVALID_ARG_TYPE(name, ‘string‘, value)
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir
- How to Solve Files Upload Error: http://net::ERR_SSL_PROTOCOL_ERROR
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] Failed to load resource: net::ERR_FILE_NOT_FOUND
- [Solved] Vue create error: ERROR: command failed: npm install –loglevel error
- How to Solve NPM installation -g @view/client Error
- [Solved] npm Error: Class extends value undefined is not a constructor or null
- Vue Error: renren-fast-vue execute npm install Error [How to Solve]
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.