Closed rolinger closed 7 years ago
You are getting very common errors from your node environment.
https://github.com/nodejs/node/issues/9377 https://github.com/sass/node-sass/issues/1888
This isn't a bug in the CLI. If you're still unable to get it working, try stack overflow or the forums.
Description: Upgrading from node 6 to node 8 as well as upgrading npm 3.10 to npm 5x completely broke my ionic 1.7.16 install.
After upgrading both node and npm when I attempted to compile my projects I got the following error:
Steps to Reproduce: My install base got so jacked up trying different things to fix the above that I had uninstall everything and completely perform a clean install with node/npm/cordova and ionic
Output:
My
ionic info
:Other Information: I then uninstalled everything again and installed node 6.11.0 which automatically loaded npm 3.10.10 and then installed cordova 7 and ionic v.1.7.16 - everything installed cleanly. However, when compiling a simple test project I am getting gradle-fs warnings still but at least it worked. There must be some dependency with ionic v1 that is preventing a new install with node 7x/8x and/or npm4x/5x...its the same dependency which prevented my previous projects from compiling after upgrading to node 8.1.3 and npm 5.0.3 (and then again to npm 5.1.0)
I ask that if there is a fix, or work around, for this that ionic clearly document how to do this because I can't find any references on how to cleanly fix this issue. I spent considerable time (3 days in fact) trying to force Node 8.1.3/npm 5.1.0 to work with ionic 1.7.16 but could never manage to get it work.
And now I worry that my projects plugins will start to break because some of them will require node8 and cause me additional headaches.
One last thing to note, on my windows 7 PC, I have the following installed and its all working: Cordova CLI: v7.0.1 NPM v5.0.1 Node: v6.10.3 Ionic: v1.7.16
Since npm 5x is working on the PC, then I am assuming it is node 7 or 8 that is breaking things on the mac. Just a hunch though.