I followed this Up and running with PhoneGap on Mac OSX on every single step but then I got stuck with
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:
Even when I type cordova, I get -bash: cordova: command not found
Update2:
I fixed cordova installation using the following steps:
- sudo chown -R $USER /usr/local
- sudo chmod -R 0775 /usr/local
- Add it to the path using this answer
- 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