Tencent / wepy

小程序组件化开发框架
https://wepyjs.gitee.io/wepy-docs/
Other
22.48k stars 3.06k forks source link

bash: wepy: command not found #1805

Open LovelyGirl4 opened 5 years ago

LovelyGirl4 commented 5 years ago

Description

在git bash下面运行了npm install wepy-cli -g,后面运行wepy命令报错bash: wepy: command not found

Environment

Reproduce

在git bash下面运行了npm install wepy-cli -g

image 然后wepy -v image

Observed Results

[实际表现]

在安装完 wepy-cli 之后,无法识别 wepy 命令

Gcaufy commented 5 years ago

那你试试

npm install babel-cli -g
babel -v
stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. 因为这个 Issue 最近没有任何有效回复,所以被自动标记为了stale。 如果在未来7天依旧没有任何激活操作,那么该 Issue 将会被自动关闭。 感谢您的提问。

freemanercom commented 5 years ago

@LovelyGirl4 我也遇到了 请问你解决了吗?