this worked for me
This worked, but it is annoying since Node keeps bugging me to upgrade to 0.12.x for the CLI to work properly.
I would have to keep upgrading and downgrading.
Is there a way to get this to work with Node 0.12?
Thanks
I worked this out recentlyā¦
Create your new ionic app using ionic start AppName
Once created, cd
into the app directory and BEFORE running the sass setup, you need to run npm update
which will make sure all the packages for the new project are up to date.
Then you can run ionic setup sass
and all should be good to go! Hope that helps!
(Iām using Node v0.12.7, Ionic CLI v1.6.4)
Works for me, thanks mbrookson!
I try to build my project, but it doesnāt update. So I try to use ionic setup sass
instead I have this following warning. Any idea how I can get my sass to update?
WARN: ionic.project has been renamed to ionic.config.json, please rename it.
The setup task has been deprecated.
getting the same thing ā¦ were you able to find a way to use sass ?
sadly no :(. so i just updated the css directly in the xcode.
i tried setting it up manuallyā¦ but now i need to run āgulp sassā everytime i update something in my *.scss file.
so it does update right? do you know why it does that way?
This actually has to do with the node.js name in Debian versions of linux being updated to ānodejsā instead of just ānodeā as it was in previous versions. I had this same error and used
sudo apt-get install nodejs-legacy
This creates a symlink between /usr/bin/node and usr/bin/nodejs. Then you can install as normal without issuesā¦ Well, I could at least. Hope this helps!