search

Home  >  Q&A  >  body text

node.js - vue-cli cannot create project.

The dark transfer vue-cli scaffolding cannot create the project:
Enter vue init webpack vue-reoject,
Display vue-cli * faild to download repo vuejs-templates/webpack:unable to verify the first certificate.
After reading the solutions online, there is no solution.

伊谢尔伦伊谢尔伦2708 days ago1168

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-06-24 09:45:37

    First make sure you have a vue-cli environment. If not, please npm install -g vue-cli. Webpack environment. If not, please npm install -g webpack

    Then you can

    vue init webpack project

    cd project

    npm i

    npm run dev

    Jin for reference

    reply
    0
  • 黄舟

    黄舟2017-06-24 09:45:37

    If there is a network problem, you can download the template locally first

    reply
    0
  • 漂亮男人

    漂亮男人2017-06-24 09:45:37

    Sometimes it’s a network problem
    http://npm.taobao.org/

    reply
    0
  • Cancelreply