PhoneGap CLI on linux does nothing

I installed phonegap cli with the following command:

sudo npm install -g phonegap

When i then type

phonegap create testApp

It does nothing, does not display anything, no error messages. I tried reinstalling it by installing cordova, but nothing.

I am working on kubuntu 13.10

Any ideas?

+4
source share
1 answer

I had the same problem. What worked for me:

sudo apt-get install curl
npm update npm -g
sudo npm install n -g
sudo n stable

And then after that:

sudo npm -g remove phonegap
sudo npm -g install phonegap

After that, the telephone delay began to work like a charm ...

This was mainly taken from these notes.

I have ubuntu 13.10

+8
source

Source: https://habr.com/ru/post/1523769/


All Articles