chriseppstein / sass-globbing

Adds glob-based imports to Sass
MIT License
441 stars 22 forks source link

Windows support #10

Open tara-fenton opened 10 years ago

tara-fenton commented 10 years ago

sass-globbing does not support Windows 7.

Output:

Running "compass:development" (compass) task WARNING: On line 5 of C:/Users/Tara/Desktop/node-startup/client/sass/styles.sass : It's not clear which file to import for '@import "framework/*"'. Candidates: framework/_0variables.sass framework/_animations.sass framework/_extends.sass framework/_fonts.sass framework/_functions.sass framework/_grid.sass framework/_media-mixins.sass framework/_mixins.sass framework/_reset.sass framework/_0variables.sass framework/_animations.sass framework/_extends.sass framework/_fonts.sass framework/_functions.sass framework/_grid.sass framework/_media-mixins.sass framework/_mixins.sass framework/_reset.sass For now I'll choose _0variables.sass. This will be an error in future versions of Sass.

WARNING: On line 6 of C:/Users/Tara/Desktop/node-startup/client/sass/styles.sass : It's not clear which file to import for '@import "layout/*"'. Candidates: layout/_main.sass layout/_main.sass For now I'll choose _main.sass. This will be an error in future versions of Sass.

jesse-bright commented 10 years ago

I know this is several months late, but Sass globbing does work for Windows. After installing the Ruby gem, use this style of markup:

@import "planets/*/*.*";

As discussed here: https://github.com/chriseppstein/sass-globbing/issues/3

sukhjindersingh commented 10 years ago

I tried but it is not working for me.

jxmallett commented 10 years ago

Thanks @jesse-bright. worked like a charm.

pilavdzic commented 10 years ago

I don't think this works on windows for anyone, at least judging by how many people tracked it down all the way to this underlying library and posted bug reports, see other bug reports that have been open here for a year. Gives error gulp-ruby-sass: Line 1: It is not clear which file to import for '@import "base/*"'

jesse-bright commented 10 years ago

@pilavdzic It has been working for me on Windows 7 for several months now, it's annoying to get working, slows down compiling and makes me hate globbing but it does at least work

pilavdzic commented 10 years ago

how did you get it to work? I have been trying to get the startersquad/ngseed project going all day today. im on win 8, with node, git and ruby developer kit installed. but keep getting errors related to this library

chriseppstein commented 8 years ago

Please test with 1.1.3 or greater.

stephenway commented 8 years ago

image

@chriseppstein Tested on Windows 10

galtalmor commented 8 years ago

@chriseppstein This issue still happens with sass-globbing 1.1.5 . Tested today. The *.* format works fine.

chriseppstein commented 8 years ago

ok. I have failing tests for windows working on appveyor. I'll see if I can fix it.

https://ci.appveyor.com/project/chriseppstein/sass-globbing/build/job/76gte346ysratfkt

57u commented 8 years ago

Forked so we can fix this ridiculously annoying Windows issue that's been going on for 3 years.... Lots of complaints but i don't see many offers (from users) to help out and fix it...?

aHooder commented 7 years ago

Looks to me like sass-globbing isn't being used at all. The error message is identical to a call without -r sass-globbing and it mentions @import ".../*" suggesting the sass/scss hasn't been altered.

praveenkgoswami commented 6 years ago

I have faced the sass-globbing issue on windows 8.1 This has been resolved using the below code in xyz.scss file to compile:

@import "utilities/";