‘APPIUM’ installation Issue:

Hi,

When try to install APPIUM following errors are occurred. How to resolved this issues.

C:\Users\seranda>npm install -g appium

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.x (node_modules\appium\node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

npm ERR! Windows_NT 10.0.10586

npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” “-g” “appium”

npm ERR! node v6.11.2

npm ERR! npm v3.10.10

npm ERR! path C:\Users\seranda\AppData\Roaming\npm\node_modules\appium\node_modules

npm ERR! code EPERM

npm ERR! errno -4048

npm ERR! syscall mkdir

npm ERR! Error: EPERM: operation not permitted, mkdir ‘C:\Users\seranda\AppData\Roaming\npm\node_modules\appium\node_modules’

npm ERR! at Error (native)

npm ERR! { Error: EPERM: operation not permitted, mkdir ‘C:\Users\seranda\AppData\Roaming\npm\node_modules\appium\node_modules’

npm ERR! at Error (native)

npm ERR! errno: -4048,

npm ERR! code: ‘EPERM’,

npm ERR! syscall: ‘mkdir’,

npm ERR! path: ‘C:\Users\seranda\AppData\Roaming\npm\node_modules\appium\node_modules’ }

npm ERR!

npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:

npm ERR!

C:\Users\seranda\npm-debug.log

Please advice me.

Thanks,

Eranda.

Hi Suresh,

Did you try to run this command on Command Prompt (Run Command Line with Administrator permission)? If not, please give it a try.

Thanks.