我只是在我的mac上安装了stagehand并且安装顺利完成,但是当我尝试使用它来生成一个新的dart应用程序时,我得到了这个错误-bash: stagehand: command not found.有任何想法吗?
Mic*_*ies 13
我查看了我的机器,stagehand在〜/ .pub-cache/bin中,我认为我必须手动添加到我的.profile:
export PATH=$PATH:~/.pub-cache/bin
(编辑:我刚刚在pub页面中找到了确认信息:https://www.dartlang.org/tools/pub/cmd/pub-global#running-a-script-from-your-path)
| 归档时间: |
|
| 查看次数: |
1769 次 |
| 最近记录: |