You are using Node v10.14.2, but this version of @vue/cli requires Node ^12.0.0

编程入门 行业动态 更新时间:2024-10-04 03:28:26

You are using Node v10.14.2, but this <a href=https://www.elefans.com/category/jswz/34/1768358.html style=version of @vue/cli requires Node ^12.0.0"/>

You are using Node v10.14.2, but this version of @vue/cli requires Node ^12.0.0

1.vue create text-vant (text-vant为创建的项目名)报如下错误

2.解决方法

       (1)去node.js\官网下载12或者12以上版本,

        (2)npm uninstall -g @vue/cli卸载当前vue-cli,然后重新安装4.5.13版本

1| npm uninstall -g @vue/cli

        

2| npm install -g @vue/cli@4.5.13

更多推荐

You are using Node v10.14.2, but this version of @vue/cli requires Node ^12.0.0

本文发布于:2024-02-28 00:55:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1766943.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:version   Node   requires   vue   cli

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!