davidguttman / sassify

Require scss files in Browserify
MIT License
51 stars 22 forks source link

Can't import scss inside another scss #47

Closed elya158-zz closed 6 years ago

elya158-zz commented 6 years ago

I added .transform(sassify, {'no-auto-inject': false, global: true}) to my gulp configuration. Importing the scss in my javascript works fine but then importing another scss inside that scss results in gulp crashing and I get this error: libc++abi.dylib: terminating with uncaught exception of type std::length_error: vector sh: line 1: 21397 Abort trap: 6 gulp serve --env development

Example: Tooltip.js file: import './Tooltip.scss';

Tooltip.scss file: @import 'test.scss'; also tried @import 'test'; //After adding this line gulp crashes.

Any ideas why it doesn't work? Do I need to add something to the configuration?

elya158-zz commented 6 years ago

Solved when upgrading node-sass version