tmaximini / generator-ionic-gulp

A Yeoman generator for fast hybrid app development that stays out of your way
134 stars 36 forks source link

Segmentation fault: 11 #6

Closed cainaf closed 9 years ago

cainaf commented 9 years ago

I'm getting this Segmentation fault: 11 quite often and can't find a clue why. Have you experienced this before? It happens while listening for changes under the gulp task.

$ gulp
[11:40:14] Using gulpfile ~/workspace/project/gulpfile.js
[11:40:14] Starting 'default'...
[11:40:14] Starting 'clean'...
[11:40:14] Finished 'clean' after 40 ms
[11:40:14] Starting 'iconfont'...
[11:40:15] Finished 'iconfont' after 423 ms
[11:40:15] Starting 'fonts'...
[11:40:15] Starting 'templates'...
[11:40:15] Starting 'styles'...
[11:40:15] Starting 'images'...
[11:40:15] Starting 'vendor'...
[11:40:16] Finished 'styles' after 990 ms
[11:40:16] Finished 'fonts' after 1.02 s
[11:40:16] Finished 'vendor' after 284 ms
[11:40:16] Finished 'templates' after 1.05 s
[11:40:16] Finished 'images' after 303 ms
[11:40:16] Starting 'jsHint'...
[11:40:16] Starting 'scripts'...
[11:40:16] Finished 'jsHint' after 492 ms
[11:40:16] Finished 'scripts' after 503 ms
[11:40:16] Starting 'index'...
[11:40:16] gulp-inject 1 files into index.html.
[11:40:16] gulp-inject 1 files into index.html.
[11:40:16] gulp-inject 28 files into index.html.
[11:40:16] Finished 'index' after 138 ms
[11:40:16] Starting 'watchers'...
[11:40:17] Finished 'watchers' after 320 ms
[11:40:17] Starting 'serve'...
[11:40:17] Finished 'serve' after 9.5 ms
[11:40:17] Starting 'noop'...
[11:40:17] Finished 'noop' after 4.16 μs
[11:40:17] Starting 'noop'...
[11:40:17] Finished 'noop' after 3.69 μs
[11:40:17] Finished 'default' after 2.5 s
[11:41:26] Starting 'jsHint'...
[11:41:26] Starting 'scripts'...
[11:41:26] Finished 'jsHint' after 56 ms
[11:41:26] Finished 'scripts' after 56 ms
[11:41:26] Starting 'index'...
[11:41:26] gulp-inject 1 files into index.html.
Segmentation fault: 11
tmaximini commented 9 years ago

Hi @cainaf I've never seen this error before, but it seems to have something to do with Sass compilation witih libsass. See https://github.com/sass/node-sass/issues/378 and https://github.com/gulpjs/gulp/issues/785 Make sure your scss files are valid (although it should throw an error if not and not segfault in case of error). Are you on OSX?