winpty: error: cannot start 'vue.cmd': Not found in PATH-前端-阿习进阶博客
Java
MySQL
大数据
Python
前端
黑科技
    首页 >> 互联网 >> 前端

winpty: error: cannot start 'vue.cmd': Not found in PATH

[导读]:winpty: error: cannot start 'vue.cmd': Not found in PATH1.安装vue-clinpminstall-g@vue/cli-service-global2.在需要创建项目的文件夹,执行npx@vue/clicreate--defaultxxx等待时间可能有点长, xxx是你的项目名称3运行npmrunserve...

winpty: error: cannot start 'vue.cmd': Not found in PATH

1.安装vue-cli

npm install -g @vue/cli-service-global

2.在需要创建项目的文件夹,执行

 npx @vue/cli create --default xxx

等待时间可能有点长, xxx是你的项目名称

3运行

  npm run serve

image.png


本文来自阿习进阶博客,如若转载,请注明出处:https://yanxias.com

留言区

联系人:
手   机:
内   容:
验证码:

历史留言

联系人:阿习

手机号:156****7890

留言内容:欢迎大家一起讨论文章,有喜欢发帖的可以私聊我给你开权限,发文章

留言时间:2022-05-09 17:46:15

回复内容:互联网阿习

回复时间:2022-05-09 17:46:15

用户IP:220.***.***.232

用户操作系统:Windows 10

欢迎加Easy的QQ