我使用以下命令在Ubuntu 16.04LTS中安装了Appium
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)" brew install node brew link node npm install -g appium npm install wd
现在,当我运行命令appium
时,appium接口没有启动。
(node:17403) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[Appium] Welcome to Appium v1.8.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /
[HTTP] {}
[debug] [HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- GET / 404 17 ms - 43
[HTTP]
[HTTP] <-- GET /favicon.ico 200 24 ms - 1150
[HTTP]
[HTTP] --> GET /
[HTTP] {}
[debug] [HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- GET / 404 7 ms - 43
[HTTP]
我已在我的.bashrc
个人资料中添加了以下路径
export PATH =“ $ HOME / .linuxbrew / bin:$ PATH”
export MANPATH =“ $ HOME / .linuxbrew / share / man:$ MANPATH”
export INFOPATH =“ $ HOME / .linuxbrew / share / info:$ INFOPATH”