Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed at the [email protected] install script

I am getting the below error when I am running "sudo npm install -g appium" on ubuntu-16.04

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install-npm.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/anjan-349/.npm/_logs/2018-06-04T09_55_11_739Z-debug.log

If you know please help me. Thanks in Advance.

like image 836
Anjan Biswas Avatar asked Dec 03 '22 11:12

Anjan Biswas


1 Answers

sudo npm install -g appium --unsafe-perm=true

You will not be able to use appium in the same terminal, you will encounter an error "command not found". So close the current terminal and open a new one.

like image 146
Bhanz Avatar answered Dec 06 '22 09:12

Bhanz