找不到Vue命令 [英] Vue command not found

查看:144
本文介绍了找不到Vue命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试安装Vue,但出现错误-bash: vue: command not found.

Trying to install Vue, but I am getting an error -bash: vue: command not found.

所有安装都按照Vue的说明进行,我不确定为什么会出现此问题.

Everything is installed per Vue instructions and I'm not sure why I am getting this issue.

提前谢谢!

推荐答案

尝试使用以下命令更新PATH变量:

Try updating your PATH variable with this command:

export PATH=$PATH:/Users/denis/.npm-global/bin

更新节点/NPM也可能有帮助.

Updating Node/NPM might help too.

这篇关于找不到Vue命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆