Problem update ionic


I’m working on my project ionic + angularjs and had no problems, try upgrading to the new version of ionic with sudo -g ionic npm install. That did not work, not throw no error was only the terminal waiting … restart the terminal, try to run some code as ionic build n and did not recognize the bash. Ionic try installing again but nobody worked so far, I’ve been waiting more than five minutes ago but see that nothing happens.


MacBook-Pro-de-Nicolas:app_view lixsys$ ionic build ios
Updated the hooks directory to have execute permissions
/bin/sh: cordova: command not found