Problems with installing ionic on Mac


Installing ionic on Mac OS El Capitan.

After installation trying to ionic serve and got errors like:
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: ‘/Users/andy/apps/app2’, local: true, binPath: ‘/usr/local/lib/node_modules/ionic/bin/ionic’, libPath:
’/Users/andy/apps/app2/node_modules/ionic/dist/index.js’ }
[DEBUG] Loading local plugin @ionic/cli-plugin-proxy
[DEBUG] Throwing PLUGIN_NOT_INSTALLED for local @ionic/cli-plugin-proxy
[DEBUG] Loading local plugin @ionic/cli-plugin-ionic-angular
[DEBUG] Throwing PLUGIN_NOT_INSTALLED for local @ionic/cli-plugin-ionic-angular
[ERROR] Error occurred while loading plugins. CLI functionality may be limited.

Commands “npm install @ionic/cli-plugin-ionic-angular” and “npm install -g @ionic/cli-plugin-ionic-angular” for missing plugins did not help. Many uninstalls and repeating installs: no results.

environment: ionic info
cli packages:
@ionic/cli-utils : 1.6.0 (/Users/andy/apps/app2/node_modules/@ionic/cli-utils)
ionic (Ionic CLI) : 3.6.0 (/Users/andy/apps/app2/node_modules/ionic)
Node : v8.2.1
OS : OS X El Capitan
Xcode : Xcode 8.0 Build version 8A218a
npm : 5.3.0


If you don’t get any better answers, I would completely uninstall all node stuff and start over using nvm.

The ionic info you posted is not from the project directory that is causing you problems.
Also ionic serve doesn’t output [DEBUG], so you didn’t tell the whole story.

Please fix that.

that was answer with --verbose.
Now, after changing version of node.js from 8.2.1 to 6.1.12 it is working.