Closed GustavoMarcante closed 7 years ago
This is interesting. At least under MacOSX npm -g
means to install it in your homefolder instead.
It turns out this is actually configurable: https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md ... so maybe instead of updating the README for using sudo we should recommend to not install it globally like this?
Thanks for the report! I've updated the docs to use sudo, that way it's installed globally and users can make/build/serve their own ionic projects elsewhere. The ionic
npm package has "preferGlobal" set to true, which means it warns users if installed locally, plus there are possible dependency conflicts since the latest ionic cli requires the latest versions of angular and rxjs.
Hi. I followed the instructions to install contenta_ionic and I got an error trying to install ionic in step 4:
The error could be fixed using
sudo npm install -g ionic@latest
I suggest update README.md. I don't know if I can ask this using something like a pull request, so I opened this issue.
After that, it installed perfectly... And it is beautiful!