Recently, I was working on a “body test” project of the company. When I started ide vscode, I reported an error as follows:
Error: read ETIMEDOUT
at _ errnoException ( util.js:1022 :11)
at TLSWrap.onread ( net.js:628 :25)
And this:
Then I went to the Internet to find a solution, and found the following solution (it didn’t solve my problem, but it’s a good method. Maybe it can solve your problem, so I stuck it. Here’s an explanation)
【
Now I’ll talk about the specific commands that need to be executed under the terminal
1. Install cli proxy plugin code>
npm install -g @ionic/cli-plugin-proxy
2. Configure proxy
export HTTP_PROXY="http://127.0.0.1:51481" # also used by npm
export HTTPS_PROXY="https://127.0.0.1:51481" # also used by npm
export IONIC_HTTP_PROXY="http://127.0.0.1:51481"
Among them, 127.0.0.1:51481 code> is my own agent
3. Install ionic template
After successfully performing the above two steps, we can download the ionic template
ionic start ionicProject blank
】
This is a solution found on the Internet. The way to solve my problem is to set the firewall to stop blocking“ node.js ”It's very simple. Ha ha.
There are two solutions in total. If you encounter this problem, I suggest you take a look at the firewall first. If you are not sure, you can use the above method, which should be able to solve the problem. If not, then I can't help it. I can only continue to look for other solutions on the Internet.
WeChat official account: "meet Wang Chuan"
Programming, financial management, English, welcome to play with me.
Read More:
- Error an unexpected error occurred: * * * etimedout
- Interesting undefined columns selected from read.table and read.csv
- Error in adding jshint plug-in to vscode
- Anaconda + vscode usage problem summary
- Go: How to Fix plug-in installation failure in vscode of windows system
- Vscode shortcut key
- Error reading file cow.osg: read error (Could not find plugin to read objects from file “cow.osg“.)
- Vscode setting console. Log () shortcut method
- Vscode Terminal Cannot Input & Blank [How to Solve]
- Solve the problem of vscode window console “flash”
- Vscode configuration connection server docker write code
- Vscode modifier error resolution
- Display spaces and tab symbols in vscode
- How to solve the problem of failed installation of golang plug-in dependency in vscode under Windows
- Vscode failed to update plug-in XHR timeout error solution
- Solve the slanting problem of vscode one dark Pro topic annotation
- Create xxx.vue file with vscode, add comments and report error
- About solving the problem that vscode files cannot be edited
- VsCode+Anaconda+jupyter Error: Kernel died with exit code
- Vscode development Vue project eslint check error