English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
//Due to a certain issue in the Windows system, the installation of the Vue boilerplate may result in the first certificate being lost
// Error: vue-cli · Failed to download repo vuejs-templates/webpack-simple: unable to verify the first certificate
//Make it simpler, you can also directly go to github to download the corresponding template (template), and then windows+r,cmd,
vue init webpack-simple project --offline
//project is the project name
//Inhttps://github.com/vuejs-templates/Download (If you don't understand English, just click Download ZIP under Clone or Download).
//Download webpack-simple or webpack. Here it is recommended to use webpack-simple. Because webpack has pitfalls. The solution will be updated later = =. Similar to strict mode (similar to!!!!), a space more and it will report an error
//Place the extracted folder in
//C:\Users\Administrator\.vue-templates
//Administrator write your username
//Go to your project folder and execute
vue init webpack-simple project --offline
Can't install淘宝镜像cnpm on github
Summary
The above-mentioned is a simple solution (ultimate version) introduced by the editor for the failure of vue init, hoping it will be helpful to everyone. If you have any questions, please leave a message, and the editor will reply to everyone in time. At the same time, I would also like to express my sincere gratitude to everyone for their support of the Yell Tutorial website!
Statement: The content of this article is from the Internet, the copyright belongs to the original author. The content is contributed and uploaded by Internet users spontaneously. This website does not own the copyright, has not been manually edited, and does not assume any relevant legal liability. If you find any content suspected of copyright infringement, please send an email to: notice#oldtoolbag.com (Please replace # with @ when sending an email for reporting, and provide relevant evidence. Once verified, this site will immediately delete the infringing content.)