Im on osx. I had a development with node, npm and ionic. Everything worked. I accidentally run this command:
npm install -g ionic After that Ionic is not working anymore. if I try to create a project or start an existing one I got this error:
Caught exception: Error: Cannot find module 'inherits' at Function.Module._resolveFilename (module.js:455:15) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/local/lib/node_modules/ionic/node_modules/glob/glob.js:42:14) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) Mind letting us know? https://github.com/driftyco/ionic-cli/issues npm -v gives:
3.10.8 node -v gives:
v6.4.0 ionic -v gives the same error message as above. Im not sure if I installed node/npm with brew or what else. Any ideas?