ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

ionic setup sass - setup is not a valid task

Open roblouie opened this issue 10 years ago • 11 comments

The documentation says that to use sass automatically to run ionic setup sass, however that just results in the error "setup is not a valid task" and a list of available tasks.

roblouie avatar Aug 05 '16 13:08 roblouie

setups?

CheetahDev avatar Aug 05 '16 16:08 CheetahDev

@CheetahDev That was just a typo on my part, I have corrected it. The command is still invalid, despite what the docs say.

roblouie avatar Aug 08 '16 04:08 roblouie

Hello! Would you mind updating your ionic cli install by running sudo npm install -g ionic@beta and then testing again? Thanks for using Ionic!

jgw96 avatar Aug 08 '16 18:08 jgw96

@jgw96 Same issue here...

Cordova CLI: 6.3.0
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0-beta.36
Ionic App Lib Version: 2.0.0-beta.19
ios-deploy version: 1.8.6 
ios-sim version: 5.0.8 
OS: Mac OS X El Capitan
Node Version: v6.3.1
Xcode version: Xcode 7.3 Build version 7D175 

okonon avatar Aug 08 '16 21:08 okonon

@jgw96 I'm on Windows, but I did update to the latest, I'm on v2.0.0-beta.36.

I still receive the same error setup is not a valid task. image

Just logged onto my mac and I have v2.0.0-beta.29 and setup sass is listed in the help there, but it says it's deprecated if I try to run it.

I also tried actually downloading the source from the latest beta release (beta.32) and putting it my node modules folder in my AppData/Roaming/npm folder. Still not a valid task. Seems like this feature was removed but the docs were never changed?

I installed the latest non-beta release, 1.7.16 and it worked fine.

roblouie avatar Aug 09 '16 04:08 roblouie

@jgw96 This issue is related to #1250 I think...

okonon avatar Aug 09 '16 17:08 okonon

another problem with this issue is, that for now the scss files are not automatically create new css files when I change something. Even not when I build the app etc.

Is there a workaround for that?

NeckbreakerPascal avatar Aug 10 '16 10:08 NeckbreakerPascal

I am also, facing the problem ...

setup is not a valid task

meskatjahan avatar Aug 14 '16 07:08 meskatjahan

Hello! With the release of the 2.0 version of the ionic cli this should be fixed! Thanks for using Ionic!

jgw96 avatar Aug 15 '16 18:08 jgw96

Resolution prevision?

guilhermefsreis avatar Nov 02 '16 14:11 guilhermefsreis

Hi can you help me plz i have thise error

https://www.screencast.com/t/c5lOc2eNBdK

ghost avatar Feb 16 '17 23:02 ghost