node-sass: HTTP error 404 downloading node-sass 4.5.0 binding binary for FreeBSD 11
When I run npm install node-sass
on my Freebsd machine I get:
> node-sass@4.5.0 install /usr/home/****/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node":
HTTP error 404 Not Found
The file freebsd-x64-51_binding.node does not exist. Where can one find this file?
Regards, Daniele.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 7
- Comments: 66 (27 by maintainers)
Hi @emjaksa
you can try with:
npm install node-sass --nodedir=/usr/local
Plesse tell me if you also encouter issues with libuv.
Regards, Daniele
The problem may be related to an Amazon AWS S3 Outage. https://status.aws.amazon.com/
@franktopel you’re more than welcome to contribute the builds.
Just for anyone who wants an immediately workable solution, the following worked for me:
This uses the system install of
libsass
which is currently at 3.4.4 and drops back to an old version of node-sass which will successfully link against that version oflibsass
. The--nodedir
argument is required to use the systemnode
headers rather than trying to download a fresh copy.npm install
should fallback to building the binary locally. Assuming you have build chain installed i.e. python2, gcc - it should compile automatically.Everyone here in the project has full freedom to do things or not to do things. Do you have a contract with node-sass maintainers that spells out the conditions of the commitment, in particular the agreed service level?
I’m also looking for a FreeBSD version.