generator-gulp-angular icon indicating copy to clipboard operation
generator-gulp-angular copied to clipboard

Segmentation Fault during styles task

Open danprime opened this issue 12 years ago • 5 comments

Running Ubuntu 14.04

I get a 'Segmentation Fault' while running the gulp styles task. I was searching on google and found this: http://stackoverflow.com/questions/24397561/sass-task-in-gulp-with-sourcecomments-map-produces-assertion-failed which seems to work so I no longer get a segmentation fault when I add the following parameters to the styles task in the build.js file:

.pipe($.sass({style: 'expanded',
                  sourceMap: 'sass',
                  sourceComments: 'map'}))

Original

.pipe($.sass({style: 'expanded'}))

danprime avatar Nov 15 '14 18:11 danprime

There was some breaking changes in the last versions of sass. Which version has you?

Swiip avatar Nov 17 '14 16:11 Swiip

3.4.8 Selective Steve

danprime avatar Nov 17 '14 17:11 danprime

@danprime Do you use nodeSass or rubySass ? Can you update issue with the lastest version of generator ?

zckrs avatar Mar 02 '15 11:03 zckrs

I will close the issue.

Should work with Node Sass.

Temporarily workaround for Ruby SASS

Add a option sourcemap=none': true in ./gulp/styles.js:

  • replace var sassOptions = { style: 'expanded' };
  • to var sassOptions = { style: 'expanded', 'sourcemap=none': true };

zckrs avatar Mar 02 '15 13:03 zckrs

The solution did not work for me. However downgrading node-sass to 3.4.2 did the trick.

node: v6.2.2 npm: v3.9.5 gulp-sass: v2.0.4

blended-ideas avatar Aug 16 '16 10:08 blended-ideas