Unknown command when vue creates a project, how to Unknown command

what is the reason that, vue init webpack Project or vue list both prompt Unknown command, when creating a project using vue? Solve

clipboard.png

Mar.16,2021

vue-cli 2.9.4 bug
you can return 2.9.3

< hr >

2.9.5 has been fixed and can be upgraded to the latest version


  1. vue list unknown command;
  2. vue init simple my-project
  3. or use the prompt tool: vue init webpack my-project

me, too. After searching on the Internet for a long time and installing it many times according to the tutorial, vue init webpack myproject, always prompts unknown command init

when creating initialization.
Menu