question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vue init webpack myproject : vue-init(1) does not exist, try --help

See original GitHub issue

Same as here https://github.com/vuejs/vue-cli/issues/66 but that issue was closed without a solution.

$ vue init webpack myproject

  vue-init(1) does not exist, try --help

$ vue list

  vue-list(1) does not exist, try --help

$ vue --help

  Usage: vue <command> [options]


  Commands:

    init        generate a new project from a template
    list        list available official templates
    help [cmd]  display help for [cmd]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

$ vue help init

  vue-init(1) does not exist, try --help

Fresh new install (npm install --global vue-cli and npm install --global vue) node 4.6.0 npm 2.15.9 vue 2.4.0 openSUSE 13.2 64-bit 3.16.7

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
jingmancommented, Oct 13, 2016

fwiw, I was having this issue when I tried running vue after installing vue-cli globally with yarn.

Did yarn global add vue-cli and then had the does not exist issue.

Did npm install -g vue-cli and I don’t have the issue - everything works fine.

1reaction
6lackMantacommented, Aug 1, 2019

npm install -g vue-cli this worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm WARN deprecated when running 'vue init webpack my ...
I had the same problem when coding my app (MEVN) and using the command vue init webpack client . So I did a...
Read more >
CLI Service - Vue CLI
You can use vue-cli-service inspect to inspect the webpack config inside a Vue CLI project. See Inspecting Webpack Config for more details.
Read more >
Vue init webpack installation vue: command not found
On my windows laptop installing Vue does not give these error, but now on the mac I ... vue init webpack my-project ......
Read more >
Creating a Project | Vue CLI
Vue CLI is in Maintenance Mode! For new projects, it is now recommended to use create-vue to scaffold Vite-based projects.
Read more >
Need Help regarding setting up project Vue cli
C:\xampp\htdocs\vue_cli>vue init webpack-simple vuejs-list ... i need web pack in my project file but can't see that in latest version.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found