Unable to install Appium on Ubuntu 12.04

1,449 views
Skip to first unread message

Benjamin Glatzeder

unread,
Feb 26, 2014, 4:20:18 AM2/26/14
to appium-...@googlegroups.com
Hi,

I'm very, very new to Linux and unable to install Appium on Ubuntu. I followed the instruction found on Appium.io. Node.js and npm is installed. Running this command, sudo npm install -g appium, yields an error. The version of Node.js is 0.6.12 and npm's version is 1.1.4. Below is the error seen in the terminal. And the extended npm error log is attached, too. Does anyone know how to fix it?


npm-debug.log

joel.l...@nexoglobal.com

unread,
Feb 26, 2014, 10:55:55 AM2/26/14
to appium-...@googlegroups.com
Try updating your Nodejs version (I'm running v0.10.26). Then do npm install -g grunt-cli and try installing appium after that. Problem seems to be that you don't have grunt-cli installed at all in your system.

To update Nodejs on Ubuntu, from the terminal, do:
sudo apt-get update
sudo apt-get install -y python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

Jonathan Lipps

unread,
Feb 26, 2014, 12:55:30 PM2/26/14
to Benjamin Glatzeder, appium-...@googlegroups.com
Appium requires node 0.10 or higher. Node 0.6 is quite old.

Also, don't install with sudo!

--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
<npm-debug.log>

Benjamin Glatzeder

unread,
Feb 26, 2014, 3:48:05 PM2/26/14
to appium-...@googlegroups.com
Updating nodejs did the trick. Thanks to both of you!

joel.l...@nexoglobal.com

unread,
Feb 26, 2014, 3:53:44 PM2/26/14
to appium-...@googlegroups.com
Nice!

Vivek Soundararajan

unread,
Mar 11, 2014, 1:12:25 AM3/11/14
to appium-...@googlegroups.com, Benjamin Glatzeder
Hi  Jonathan Lipps , 
    I am completely new for appium, I installed nodejs in my ubuntu 12.04 macine. after installed the nodejs and appium. I am going to install appium app in my machine.I have run appium & in command line, I think it is a server Its running fine, 
    the appium installation guide giving an instructions after run the appium & command install the appium app in machine, and run it. I don't know how to install the app and how to run?
    I have downloaded appium-0.16.0.tar.gz file, Please help me.

李小奇

unread,
Jul 31, 2014, 5:44:25 AM7/31/14
to appium-...@googlegroups.com, benjamin....@googlemail.com
Hi, Could you tell me How to install nodejs without sudo?

在 2014年2月27日星期四UTC+8上午1时55分30秒,Jonathan Lipps写道:
Reply all
Reply to author
Forward
0 new messages