Node-sass: Bus error (core dumped) - Error when run 'npm rebuild' - node-sass issues

Created on 16 Mar 2016  路  11Comments  路  Source: sass/node-sass

When trying to run gulp I get the following error:
Bus error (core dumped)

Then I found it is because of the node-sass issue.
So I ran npm rebuild and I came up with following error.

/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-46/binding.node ` exists. 
 testing binary.
Bus error (core dumped)

npm ERR! Linux 3.19.0-56-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "rebuild"
npm ERR! node v4.4.0
npm ERR! npm  v3.8.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 135
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

System is elementary Os if that helps.

Awaiting Response

Most helpful comment

Its fixed with installing libsass and sassc.

pacman -Sy libsass sassc

npm rebuild not fixing binary. Deleting all node_modules folder and reinstalling NPM packages fixed problem.

All 11 comments

Please read the CONTRIBUTING.md before opening an issue.

@xzyfer Could you please look into this??

I see the same issue on node 5.9 and latest node-sass.

@musukvi please report details about your platform, as linked above

@musukvi please report details about your platform, as linked above

@musukvi please report details about your platform, as linked above

@musukvl @madhurangaonbit please read the CONTRIBUTING.md before opening a new issue. Closing this since these two reports are unrelated to each other. If you're still experiencing problem open a new issue.

Solved by installing libsass on Ubuntu...

Same error on Arch Linux

Binary found at /node_modules/node-sass/vendor/linux-x64-51/binding.node
Testing binary
[1]    6870 bus error (core dumped)  npm install

Our binaries don't support Arch Linux. We're clear about this on the release notes. You'll need to rebuild the binary.

```
npm rebuild node-sass
````

Its fixed with installing libsass and sassc.

pacman -Sy libsass sassc

npm rebuild not fixing binary. Deleting all node_modules folder and reinstalling NPM packages fixed problem.

Was this page helpful?
0 / 5 - 0 ratings