我想在ubuntu 14.04中安裝appium。 我已經安裝npm install appium -g/saveError ENOENT ubuntu 14.04
- 節點V8.4.0
- NPM 5.3.0
- NVM V8.4.0
當我運行npm install -g appium
我得到WARN
npm WARN deprecated [email protected]: Babel 5 is no longer being maintained. Upgrade to Babel 6. npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Copy its ~20 LOC directly into your code instead. /home/fadhlimaulidri/.nvm/versions/node/v8.4.0/bin/appium -> /home/fadhlimaulidri/.nvm/versions/node/v8.4.0/lib/node_modules/appium/build/lib/main.js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/appium/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
我必須升級巴貝爾核心
時,我沒有找到如何升級到巴別塔6.然後我跑 npm install --save-dev babel-core
,我也得到WARN
npm WARN saveError ENOENT: no such file or directory, open '/home/fadhlimaulidri/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/fadhlimaulidri/package.json' npm WARN fadhlimaulidri No description npm WARN fadhlimaulidri No repository field. npm WARN fadhlimaulidri No README data npm WARN fadhlimaulidri No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
任何解決方案?