Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion `val->IsString()' failed #57

Closed
jharmelink opened this issue Jun 6, 2014 · 19 comments
Closed

Assertion `val->IsString()' failed #57

jharmelink opened this issue Jun 6, 2014 · 19 comments

Comments

@jharmelink
Copy link

We get this error since we upgraded from version 0.7.1 to 0.7.2:

nan.h:1725: bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*): Assertion `val->IsString()' failed.
@dlmanning
Copy link
Owner

When doing what?

@jharmelink
Copy link
Author

gulp.src('app/styles/themes/' + method.name + '.scss')
                .pipe($.sass({
                    errLogToConsole: true,
                    includePaths: ['app/bower_components'],
                    sourceComments: 'map'
                }))

On second thoughts, I think this is a node-sass bug.

@dlmanning
Copy link
Owner

Yeah, that's either libsassc or node-sass.

@jclem
Copy link

jclem commented Jun 6, 2014

I have the same issue upgrading past 0.7.1, FWIW, so I'm currently locked at that version.

@cesarandreu
Copy link

👍 Having the same issue. Downgrading to 0.7.1 fixes it.

@dlmanning
Copy link
Owner

So something's changed/broken in node-sass here. I'm not sure there's anything I can do about it short of rolling back the dependency, but I'll get into it this weekend.

Downgrade to 0.7.1 as suggested if you can't get around the problem

@dlmanning dlmanning reopened this Jun 7, 2014
@jharmelink
Copy link
Author

The issue discussion at node-sass: sass/node-sass#337

@deepfriedmind
Copy link

+1

1 similar comment
@igregson
Copy link

+1

@mingzepeng
Copy link

when i convert a empty sass file to css, i get this error and downgrading to 0.7.1 fixes it.

@mattes
Copy link

mattes commented Jul 2, 2014

👍

1 similar comment
@maximelebreton
Copy link

+1

@iainhouston
Copy link

It's the source maps option sourceComments: 'map' that crashes 0.7.2 and does not crash 0.7.1 for me.

@iainhouston
Copy link

Unfortunately 0.7.1 doesn't like a / some Bourbon / Neat mixin(s) so ... we'll have to make do without source maps for the time-being and resume 0.7.2

@rrbiten
Copy link

rrbiten commented Jul 19, 2014

Any luck with Bourbon and Neat?
Whenever I try using sourceComments, I get errors. This is what I have:

{
includePaths: require('node-neat').includePaths,
sourceComments: 'map',
sourceMap: 'sass',
style: 'compressed'
}

@dtothefp
Copy link

still broken for me when updating to 0.7.2 with node-sass 0.9.3, works on 0.7.1 with node-sass 0.8.6

@dlmanning
Copy link
Owner

Should be fixed with 57b7a6c

@jacobsvante
Copy link

With your latest release I'm getting segmentation fault when there's a syntax error in my SCSS files. It only happens when I use the sourceComments: 'map' setting.

@dlmanning
Copy link
Owner

This is a node-sass bug. See sass/node-sass#378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests