Reputation: 3
Currently getting an error while trying to install the Appium using Node.js (Windows 10). For more information please refer to the below log file. Can you please help ?
12808 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\appium\node_modules\fsevents):
12809 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
12810 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
12810 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
12810 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32
12810 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
12811 verbose stack Error: [email protected] install: `node install-npm.js`
12811 verbose stack Exit status 1
12811 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
12811 verbose stack at EventEmitter.emit (events.js:182:13)
12811 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
12811 verbose stack at ChildProcess.emit (events.js:182:13)
12811 verbose stack at maybeClose (internal/child_process.js:962:16)
12811 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
12812 verbose pkgid [email protected]
12813 verbose cwd C:\Users\test
12814 verbose Windows_NT 10.0.17763
12815 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "appium" "-unsafe-perm=true" "-allow-root"
12816 verbose node v10.15.0
12817 verbose npm v6.4.1
12818 error code ELIFECYCLE
12819 error errno 1
12820 error [email protected] install: `node install-npm.js`
12820 error Exit status 1
**12821 error Failed at the [email protected] install script.
12821 error This is probably not a problem with npm. There is likely additional logging output above.
12822 verbose exit [ 1, true ]**
Upvotes: 0
Views: 3358
Reputation: 2615
Installation of Appium is depend on few things
Installation of Node.js
Installation of APPIUM
Make sure that above three installations are as per the documentation and use open internet to do the downloading.
Upvotes: 0
Reputation: 11
sudo npm install --unsafe-per=true -g appium
Regards, Sukrant
Upvotes: 1