vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6. You may want to run the

vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6. You may want to run the,第1张

提示:vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6. You may want to run the following to upgrade to Vue CLI 3:

使用命令行vue create vue-demo时,出现以下报错,

此处应为vue的版本存在更新,需要先卸载vue cli2,然后重新安装vue cli 3。

卸载命令:

npm uninstall -g vue-cli

从新安装:

npm install -g @vue/cli

即可再次使用命令创前vue项目:

vue create vue demo

 

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1296780.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-10
下一篇2022-06-10

发表评论

登录后才能评论

评论列表(0条)

    保存