问题描述
我正在 macbook(MacOS Catalina) 中安装 appium
问题:
遵循正确的安装步骤,但我的终端现在表现得很奇怪。 它显示 zsh: command not found: 对于我正在点击的每个命令。
即使我在我的机器上配置了那个特定的软件。 IE 在我打球时
-
npm install -g authorize-ios
-
纳米 ~/.zsh_profile
-
sudo nano ~/.zshrc
-
触摸 .zshrc
-
清除
我遇到以下错误
-
zsh:找不到命令:npm zsh:
-
未找到命令:sudo
-
zsh:找不到命令:touch
4.command not found: clear
5.getting this error while installing anything through terminal
当我打开 Terminal is showing this by default
时,我的终端默认显示此内容我怀疑我是否被 $PATH 变量搞砸了 我在执行时得到低于结果 回声 $PATH
/Users/hemanshimaheta/Library/Android/sdk/emulator:/Users/hemanshimaheta/Library/Android/sdk/tools:/Users/hemanshimaheta/Library/Android/sdk/tools/bin:$
我尝试过的解决方案:
我已经尝试过下面的命令
出口 PATH=":/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/hemanshimaheta/opt/bin/$PATH"
在点击以上一个之后,很少有命令开始工作(但是安装命令仍然给出像 enter image description here 这样的错误)但是一旦我关闭终端并打开它,同样的问题再次发生。它看起来不是永久固定的。
我真的需要将 appium 安装在我的机器上,但因此我无法进一步移动。 请有人帮我解决这个问题。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)