非常感谢,经过尝试 成功启动了
先卸载了 appium
sudo npm uninstall -g appium
sudo chown -R $USER /usr/local
sudo npm cache clean
sudo npm update -g
npm install -g appium
@beerbox ,按着那个帖子做了 还是没解决 的
遇到启动不了的问题了 ,尝试了重新安装和提升权限 还是无法解决,求解
LovetekiMac:/ love$ appium &
[1] 1270
LovetekiMac:/ love$ error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install Appium using sudo npm install -g appium
, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages.
[1]+ Exit 1 appium
纠结了 2 天才肯到这帖子,哎苦闷。说的坑比描述的多