1
我剛剛在我的Mac上安裝了stagehand,並且安裝順利,但當我嘗試使用它產生新的dart應用程序時,出現此錯誤-bash: stagehand: command not found
。有任何想法嗎?嘗試創建新應用程序時未找到stagehand命令
我剛剛在我的Mac上安裝了stagehand,並且安裝順利,但當我嘗試使用它產生新的dart應用程序時,出現此錯誤-bash: stagehand: command not found
。有任何想法嗎?嘗試創建新應用程序時未找到stagehand命令
我看我的機器,和舞臺工作人員是在〜/的.pub緩存/ bin中,我想我不得不手動添加到我的.profile:
export PATH=$PATH:~/.pub-cache/bin
(編輯:我剛剛發現確認信息已隱藏在pub
頁面:https://www.dartlang.org/tools/pub/cmd/pub-global#running-a-script-from-your-path)
手動添加路徑 –