在mac上面安装appium---npm install时报错:npm WARN enoent ENOENT: no such file or directory,

来源:互联网 发布:linux 物理内存大小 编辑:程序博客网 时间:2024/04/28 16:10

> brew install node        # get node.js

> npm install -g appium  # get appium

> npm install wd          # get appium client

> appium &                # start appium

> node your-appium-test.js


1:npm command not found

curl -L http://npmjs.org/install.sh | sudo sh
2:npm install时报错:npm WARN enoent ENOENT: no such file ordirectory

The fix for me was : npm init --yes

0 0
原创粉丝点击