Warning: apple/apple/game-porting-toolkit 1.0.3 is already insta

在安裝game-porting-toolkit的時間,我遇到這個問題。
Warning: apple/apple/game-porting-toolkit 1.0.3 is already installed, it's just not linked.
To link this version, run:
? brew link game-porting-toolkit
解決辦法:
根據(jù)提示:運行?? brew link game-porting-toolkit
結(jié)果又有錯誤提示:
Error: Directory not empty @ dir_s_rmdir - /usr/local/opt/game-porting-toolkit
意思是/usr/local/opt/game-porting-toolkit這個文件夾里有數(shù)據(jù),但是我清空以后,還是這個錯誤提示。于是我又找到了一條命令來強制刪除這個文件夾里的任何數(shù)據(jù)
rm -rf /usr/local/opt/game-porting-toolkit
之后
zhangweiguo@zhangweiguode14cun-MacBook-Pro ~ % brew link game-porting-toolkit?
Linking /usr/local/Cellar/game-porting-toolkit/1.0.3... 32 symlinks created.
搞定?。。?/p>
標簽: