vue init webpack projectName命令运行报错 解决方法 原因是已经安装了旧版本vue/cli @1 npm uninstall vue-cli -g npm install -g @vue/cli @2 vue create projectName