I am having a lot of problems with Ionic recently after updating!
I have just installed Node-js v0.10.36 (since it is supposedly compatible) then done a fresh install of ionic -g
I created a new project and then checked the node modules and the gulp dependencies are all broken! This means that running ionic setup sass just does not work and errors. Any ideas what is wrong here and how to fix it?
I have done npm cache clear AND gone into the node_modules directory and manually deleted everything for ionic but still it doesnt work with a fresh install.
The actual ionic package installs fine but the nested dependencies for gulp were not installing.
I think I have finally sorted this (with a lot of trial and error) by installing gulp globally with npm install -g gulp and also installing each of those broken dependencies one at a time into the directory
So why don’t we bundle all the build tools referenced in a project package.json?
Well this way, we are only including things that we actually need to make the cli work.
Plus, if a project doesn’t call for any gulp tasks, then why include it?
@mhartington Very true! However, I’m sure that in previous versions I have just been able to create a project and run ionic setup sass and all of that was taken care of for me? I’ve never had to install other dependencies myself.