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

Abort trap: 6 #65

Closed
haustraliaer opened this issue Mar 22, 2015 · 23 comments
Closed

Abort trap: 6 #65

haustraliaer opened this issue Mar 22, 2015 · 23 comments

Comments

@haustraliaer
Copy link

After upgrading to 1.0.0 I'm getting fairly inconsistent errors along the lines of:

Assertion failed: (handle->flags & UV_CLOSING), function uv__finish_close, file ../deps/uv/src/unix/core.c, line 171.
Abort trap: 6

Seems to be an issue with node-sass that has persisted into the pre-release sass-loader is using?

sass/node-sass#713

@jenbennings
Copy link

I'm also getting this.

@jhnns
Copy link
Member

jhnns commented Mar 23, 2015

Yep, I was also getting these. You need to stick with sass-loader 0.x until this is fixed. 😒

@jhnns jhnns changed the title Error with node-sass Abort trap: 6 Mar 23, 2015
@haustraliaer
Copy link
Author

So close! The brief 30 seconds of custom importers was bliss.

@ryan1234
Copy link

+1 for this. =)

@cbrewer1689
Copy link

+1

@doylem
Copy link

doylem commented Mar 27, 2015

Also seeing the same behaviour.

@andycmaj
Copy link

+1

had to back up to sass-loader@0.4.2 because 0.5.0 has a dependency on node-sass@3.0.0-pre which doesn't exist

@jcreamer898
Copy link

Thanks for the fix here @andycmaj, struggling with the same issue!

@jhnns
Copy link
Member

jhnns commented Apr 3, 2015

I've managed to write a version of sass-loader that provides the same features while depending on node-sass 2.1.1. It's on a separate branch and can be installed via npm i sass-loader@0.6.x. Please note, that sass-loader 0.6.0 is listing node-sass as peerDependency as well.

@nickdima
Copy link

nickdima commented Apr 3, 2015

@jhnns I'm still seeing this problem even with sass-loader@0.6. and node-sass@2.1.1
Is there some feature I shouldn't be using or something?

@alexhawkins
Copy link

Just wanted to iterate that this loader has been extremely troublesome for me. Slowing me down massively. Sometimes it works but mostly it crashes. At least i know what's causing it.

@jhnns
Copy link
Member

jhnns commented Apr 5, 2015

I didn't expect node-sass 3.0.0-beta to be so unstable, but – well – it is a beta. @alexhawkins you can use old versions of sass-loader until the current ones are stable.

@akloeber
Copy link

For those still looking for a workaround: sass-loader@0.6.0 does not work neither as it depends on node-sass@2.1.1 which, according to the comments in sass/node-sass#713, is also one of the versions that provoke these errors.

The latest working version seems to be node-sass@2.0.1 but even explicitely depending on node-sass@2.0.1 as a peer dependency is not a workaround because it does not satisfy ^2.1.1.

@jhnns
Copy link
Member

jhnns commented Apr 10, 2015

Afaik sass-loader@0.4.2 is the last version that does not bother you with errors

@akloeber
Copy link

Unfortunately sass-loader@0.4.2 has dependency "node-sass": "^2.0.1" which means that the latest node-sass@2.1.1 gets installed.

@alexhawkins
Copy link

For those of you trying to get this to work, you need to use sass/node-sass#v3.0.0-alpha.1, with sass-loader@0.4.2 . You can see a working version of it here in a project I was recently working on https://github.com/alexhawkins/UberDoku Look at my package.json and webpack.config

@raphaelsaunier
Copy link

Same here; I had to downgrade to 0.4.2 (…and not 0.6.0, as recommended in the README) to get rid of the errors.

sass/node-sass@fce0993 allegedly fixes this issue, however even when using it, I kept getting random crashes with both sass-loader@0.6.0 and 1.0.1.

@jhnns
Copy link
Member

jhnns commented Apr 15, 2015

@raphaelsaunier I've updated the README

@haustraliaer
Copy link
Author

This seems totally stable for me now with the latest node-sass release - and pulling "sass-loader": "1.0.0" from npm gets the updated node-sass@3.1.0, despite sass-loader still specifying the beta.

I haven't tested with a large codebase full of imports yet, but I will likely get to it over the weekend.

@jhnns
Copy link
Member

jhnns commented May 15, 2015

@haustraliaer that are good news. Please let me know if everything works as expected. I'll remove the note in the README then.

@alexduan
Copy link

This should probably be a separate issue, but after upgrading to 1.0.2 webpack will just completely hang.

@haustraliaer
Copy link
Author

Yeah I'm on 1.0.0 so haven't seen that bug - you should log it separately.

@jhnns
Copy link
Member

jhnns commented May 17, 2015

@alexduan this does not happen in our tests, so please try to narrow it down and open a separate issue.

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

Successfully merging a pull request may close this issue.