New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running "ionic" CLI gives "Cannot find module 'colors'" #574
Comments
You gave me a link that changed the original report.. Should I replace the iid in the URL and copy the info from the old one to update this one? |
You should go all set, the necessary info is there. |
Any information on this bug? It's a blocker, and I can't even use it.. I've created a project with it, and I need to get this 'proof of concept' app done ASAP. |
EDIT: Nevermind, it used two different installation directories.. The old NodeJS from Universe uses /usr/local/lib/node_modules and the new one uses /usr/lib/node_modules .. And it was using the old ionic and working.. The new one at /usr/lib/node_modules gives that error.. Perhaps it's NodeJS and it's new location that's causing it. I managed to fix this by removing NPM/NodeJS, then reinstalling NPM from Ubuntu Universe, then using the: |
From @cyraid on August 27, 2015 10:31
I've installed Ionic 1.6.4 through NPM, and it seems when I want to run it, it gives the error "Cannot find module 'colors'". Just installed it today. I'm using Node.JS 0.12.7, and NPM 2.11.3
O.S. Is Ubuntu 15.04, 64bit
Copied from original issue: ionic-team/ionic-framework#4282
The text was updated successfully, but these errors were encountered: