How to setup Appium on OpenSUSE 13.1


I’ve downloaded the node.js. I followed the instruction given on the page but when I got to this line:

npm install -g appium # get appium

An error occurs with this message:

error Error: No compatible version found: camel-back-promise@‘^1.0.0’
error Valid install targets:
error [“0.0.0”,“1.0.0”]
error at installTargetsError (/usr/lib64/node_modules/npm/lib/cache.js:685:10)
error at /usr/lib64/node_modules/npm/lib/cache.js:607:10
error at saved (/usr/lib64/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
error at Object.oncomplete (fs.js:107:15)
error If you need help, you may report this log at:
error or email it to:
error [email protected]
error System Linux 3.11.10-17-default
error command “/usr/bin/node” “/usr/bin/npm” “install” “-g” “appium”
error cwd /root
error node -v v0.10.5
error npm -v 1.2.18

I have no idea how to solve thhis kind of problem because I’m rly new to unix/linux :\

i think u need to install using linuxbrew.

after that install node.js using brew install node

then follow instructions as per appium documentations.

just download Node.js from here and extract it to Home folder(or anyplace where sudo is not needed)
Set the path in ~/.bashrc file.
Now run
npm install -g appium

Thats all you need.