osx - -bash: phonegap: command not found (Mac OS) -
i installed phonegap , cordova using npm on macbook (mac os x mountain lion) using these commands on command line.
sudo npm install -g cordova sudo npm install -g phonegap
both phonegap , cordova seemed install fine, when tried:
mymac:~ user$ cordova mymac:~ user$ phonegap
i got messages:
-bash: cordova: command not found -bash: phonegap: command not found
both installed, why command not work.
i know old question, think answer helpful.
i got same problem , solve creating symlink:
cd /usr/local/bin/ sudo ln -s /usr/local/cellar/node/6.0.0/bin/phonegap phonegap sudo ln -s /usr/local/cellar/node/6.0.0/bin/cordova cordova
remember change path /usr/local/cellar/node/6.0.0/bin/ yours installation folder.
[]s
Comments
Post a Comment