This post is about solving the error when installing dependencies on vue-element-admin.
When using npm install to download dependencies, the first problem I encountered was as follows.
npm ERR! Error while executing:
npm ERR! D:\git\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
npm ERR!
npm ERR! fatal: unable to access ‘https://github.com/nhn/raphael.git/’: OpenSSL SSL_read: Connection was reset, errno 10054
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\new\AppData\Roaming\npm-cache_logs\2021-09-08T01_40_03_853Z-debug.log
This is a bad network, you can change a network and then re-download the dependency, I re-downloaded after changing the network, and encountered another kind of error, as follows.
npm ERR! Error while executing:
npm ERR! D:\git\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
npm ERR!
npm ERR! fatal: unable to access ‘https://github.com/nhn/raphael.git/’: Failed to connect to github.com port 443: Timed out
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\new\AppData\Roaming\npm-cache_logs\2021-09-08T01_23_18_405Z-debug.log
This problem can be solved by executing directly from the terminal.
git config –global url.“https://”.insteadOf git://
After execution, download the dependency again, and it will download normally
Read More:
- [Solved] Executing npm install error: npm ERR! code EINTEGRITY
- NPM Install Error: npm ERR! ERESOLVE unable to resolve dependency tree
- Analysis of npm error ENOTFOUND npm ERR! network request to https://npm.***.com/*** failed and the role of the .npmrc file
- npm install npm ERR code ERESOLVE [How to Solve]
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- Vue Error: command failed: npm install –loglevel error –registry=https://registry.npm.taobao.org
- [Solved] npm install sass@~1.32 sass-loader deepmerge -D Install Error
- Vue Package Error: npm ERR! missing script: build
- Puppeteer Error: Chromium revision is not downloaded. Run “npm install“ or “yarn install“
- NPM install -g create-react-app [How to Solve]
- [Solved] Mac Notebook M1 Chip Install Hashlips library npm error
- NPM install Error cb.apply is not a function
- [Solved] NPM install error: Maximum call stack size exceeded
- [Solved] NPM Install Error: EPERM: operation not permitted, mkdir xxx
- [Solved] This usually happens because your environment has changed since running `npm install`
- [Solved] – npm run dev Error: listen EADDRINUSE: address already in use :::8000(or 8080 etc.)
- [Solved] ERROR command failed: npm install –loglevel error –legacy-peer-deps
- Cli Write Error: This is related to npm not being able to find a file. [Solved]
- NPM start project error: cannot find module ‘webpack’ problem solution
- Cocos creator custom engine NPM Error [How to Fix]