Issue
I'm trying to initialize a new project with vue-cli (on Centos7).
But, when I run this command:
vue init webpack-simple myproject
vue-cli · Failed to download repo vuejs-templates/webpack-simple: unable to get local issuer certificate
Does anyone know how to fix it?
Solution
I fixed it by doing this:
- I completely uninstalled and then reinstalled nodejs on my Centos7
- I reinstalled vue-cli
Then I tried:
vue init webpack-simple myproject
And it worked perfectly.
Answered By - Baptiste Answer Checked By - Dawn Plyler (WPSolving Volunteer)