0

I followed this Up and running with PhoneGap on Mac OSX on every single step but then I got stuck with error

I have tried many solutions and fixes but still nothing is working. I followed this answer but still stuck.

What could be the cause for these issues?!

Update1:

When I install cordova using sudo npm install -g cordova I get the following: Install Cordova

Even when I type cordova, I get -bash: cordova: command not found

Update2:

I fixed cordova installation using the following steps:

  1. sudo chown -R $USER /usr/local
  2. sudo chmod -R 0775 /usr/local
  3. Add it to the path using this answer
  4. Add the path to bash_profile using this link

Open the terminal and type cordova -v and you get it working displaying the version

Phonegap is still failing and can't seem to find a fix for it

Community
  • 1
  • 1
omarsafwany
  • 3,695
  • 8
  • 44
  • 75

0 Answers0