This time I will bring you vue-cli initialization webpack template error. What are the precautions for solving vue-cli initialization webpack template error? The following is a practical case, let's take a look.
vue init webpack pro [Failed to download repo] [connect ETIMEDOUT 192.30.255.112]
reported this error
Some people say it is an agency problem. I don’t understand either, but this method works
1. Download the template to be initialized from github https://github.com/vuejs-templates/webpack
or use git to clone directly The template you want.
2. Unzip the downloaded template. There is no need to unzip the git clone.
3. Place the folder under the c:administrator/.vue-templates folder
The preparations are done
4. Then do whatever you have to do. Execute vue init under your project file
That’s it, I tested it and it works, I hope it’s useful Help everyone. . .
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website!
Recommended reading:
How to use IP to access the local development environment
How to use Node static resource server
The above is the detailed content of vue-cli initializes webpack template error. For more information, please follow other related articles on the PHP Chinese website!