SoFunction
Updated on 2025-04-09

Quickly solve the problem that vue-cli cannot initialize webpack templates

vue init webpack pro [Failed to download repo] [connect ETIMEDOUT 192.30.255.112]

Report this error

Some people say it is an agent problem. I don't understand either, but this method is useful

1. Go to github to download the template to be initialized/vuejs-templates/webpack

Or just use git to clone the template you want.

2. Unzip the downloaded template. git clone doesn't need to be decompressed.

3. Put the folder under the c:administrator/.vue-templates folder

The preparations are done

4. Then do whatever you should do. Execute vue init in your project file <the template you just downloaded, such as: webpack, or webpack-simple, etc.> (project-name) –offline

All of these are useful for testing them personally, I hope they can help everyone. . .

The above article quickly solves the problem that vue-cli cannot initialize webpack templates is all the content I share with you. I hope you can give you a reference and I hope you can support me more.