Closed Turbo87 closed 9 years ago
it seems that https://github.com/sass/node-sass/blob/v2.0.0-beta/scripts/build.js#L122 is/was also part of the problem since it did not build the binary from scratch after the download failed, but it looks like that issue has been fixed already on the master branch
https://github.com/sass/node-sass/commit/7ef08f45967d10745e9f36b84a1c1a3ff7021625 is probably part of the solution too. I would be great though if you could release another beta that includes this fix. Unfortunately https://github.com/dlmanning/gulp-sass already depends on the beta1 and fails to install and work due to this bug.
Also getting an error while trying to install on FreeBSD 8.4:
npm install node-sass
|
> node-sass@2.0.0-beta install /home/[some path]/node_modules/node-sass
> node scripts/install.js
Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.0-beta/freebsd-x64/binding.node
> node-sass@2.0.0-beta postinstall /home/[some path]/node_modules/node-sass
> node scripts/build.js
@kaupok https://github.com/sass/node-sass/milestones/ (v2.1 is our next milestone)
@Turbo87, see https://github.com/sass/node-sass/issues/602. We are working towards the 2.0.0 stable release.
As you mentioned, this issue is fixed. Lets follow the progress on vNext at #602.
@am11 thanks for the reply. are you planning to release another beta version any time soon?
@Turbo87, there would not be the second beta. In fact, v2.0.0 stable is ready to launch. We have one showstopper: Linux binaries which are compatible with older CentOS 5, which many node-sass users are using on their hosting (unfortunately). If we do not care about that and release it anyway, it will blowback badly.
We are still gauging our options to either drop support and have a solid stance on minimum GLIBC/libstdc++ requirement. Meanwhile, we are waiting for some build system expert to remedy this situation for us (by providing a permanent fix).
when I try to install this package via NPM on OSX the
install.js
fails to download thebinding.node
file:the requested file is https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.0-beta/darwin-x64/binding.node and that does seem to exist. I have no idea why this doesn't seem to work properly.
Also once the download fails the
exists()
method ininstall.js
will returntrue
even though the file doesn't exist because it only checks for the existance of the folder, but not the binding file.