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

> 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

你可能感兴趣的:(移动端自动化测试)