-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Segmentation fault with vendor/linux-x64-48/binding.node #1572
Comments
Can you produce a minimal scss code that causes this? |
node-sass@v3.7.0 should be compiled against LibSass@3.3.6. You're correct that you some how have the wrong native extension. Try deleting you're node_modules folder and reinstall node-sass. Other than that there is not much we can do since there would be a local environment issue preventing you come downloading the correct native extension. Make sure you don't mistakenly have a configuration variable set. |
I wonder what goes wrong here since we embed the correct libsass in the node-sass binary itself, so it should not matter what kind of libsass library is installed by the system. Did you compile the binding yourself? |
I compared the sass/libsass project with the src/libsass folder in node-sass. |
@saper the mere existence of a scss file (it's empty) causes a segmentation fault. |
I deleted the compass-importer module from my angular-cli project. Now the compilation of scss files work fine. I suggest further investigation about compass-importer and node-sass dependencies. |
Well, I don't think I can reproduce your problem. node-sass does not work with Compass, but we should not have a core dump. Can you try to produce a backtrace? |
I really don't know how to do this. I tried to find the core dump on my system but was not successful. How do I create a backtrace? |
first, try Alternatively you can run your thing under |
@nschonni
as well but only in combination with compass-importer |
@thinkrapido can you prepare a small self-contained repo to reproduce the problem? |
gdb /usr/local/bin/node core
|
https://drive.google.com/file/d/0B6ajHGm5eAS6c0pDLW1ZZWdFdVU/view?usp=sharing package.json contains compass-importer and node-sass modules only prerequisites:
in angular-test folder:
and execute with |
I have same issuse gdb ./binding.node
|
@NamPNQ arch linux is not supported. Our prebuilt binaries to do not run on arch linux, you'll need to compile your own with |
@xzyfer I had rebuild and get same isusse |
I got the same issue with |
Please provide small, copy pasteable code samples that cause a segfault so
|
os: ubuntu 16.04
version: node-sass 3.7.0; libsass0 3.3.4-1
I'm doing
ng serve
of angular/angular-cli project after installingnpm install compass-importer node-sass
which causes a segmentation fault inrender_sync
functionI thought it could be a malformed binary download of binding.node, so I did
npm run build
and generated the newest version. But this fails as well.Do you have suggestions how to fix this?
The text was updated successfully, but these errors were encountered: