I installed Ionic a couple days ago and today, I am trying to reinstall it. First, I uninstalled through
sudo npm uninstall -g ionic. Then, I attempted to reinstall with
sudo npm install -g ionic. The module shows up when I type
npm list -g --depth=0:
/usr/local/lib /usr/local/lib ├── email@example.com ├── firstname.lastname@example.org ├── email@example.com ├── firstname.lastname@example.org └── email@example.com
I can run
which cordova for example and it prints
but when I say
which ionic, it prints nothing. And the command
-bash: ionic: command not found. Restarting Terminal does not help either.
I have tried using node versions
0.12.4 (latest at the time of this posting), and npm versions
2.10.1. Curiously enough, there is an
ionic folder within the
**********:~ ******$ ls /usr/local/lib/node_modules/ cordova ionic phonegap spawn-sync steroids
Update: The cause of this problem might be from the previous installation, since one of my coworkers was able to install Ionic, and he never had it installed before.