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

ember-cli-sass 3.3.0 is broken #289

Closed
Trendy opened this issue Feb 26, 2016 · 4 comments
Closed

ember-cli-sass 3.3.0 is broken #289

Trendy opened this issue Feb 26, 2016 · 4 comments

Comments

@Trendy
Copy link

Trendy commented Feb 26, 2016

ember-cli-sass 3.3.0 tries to use an older version of node-sass that doesn't build properly on Linux.

Upgrading to ember-cli-sass 5.x.x seems to fix the issue for me, and still works as expected.

Should we upgrade the ember-cli-sass version to 5.4.0?

Errors on install:

> [email protected] install /home/jeremiah/xxxxx/node_modules/node-sass
> node scripts/install.js

Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.1.1/linux-x64-node-5.7/binding.node

> [email protected] postinstall /home/jeremiah/xxxxx/node_modules/node-sass
> node scripts/build.js

module.js:341
    throw err;
    ^

Error: Cannot find module '/home/jeremiah/xxxxx/node_modules/node-sass/node_modules/pangyp/bin/node-gyp'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:141:18)
    at node.js:933:3
Build failed

That results in the following when I run ember server:

`libsass` bindings not found. Try reinstalling `node-sass`?
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
    at getBinding (/home/jeremiah/xxxx/node_modules/broccoli-sass-source-maps/node_modules/node-sass/lib/index.js:22:11)
    at Object.<anonymous> (/home/jeremiah/xxxx/node_modules/broccoli-sass-source-maps/node_modules/node-sass/lib/index.js:188:23)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/home/jeremiah/xxxx/node_modules/broccoli-sass-source-maps/index.js:5:12)
    at Module._compile (module.js:413:34)

Work around

You can get around this by manually specifying which version of ember-cli-sass should be installed in your package.json file:

npm install --save-dev ember-cli-sass@latest

@robbyoconnor
Copy link
Contributor

@Trendy except others won't do that -- it should be fixed if this project is properly maintained...

@Trendy
Copy link
Author

Trendy commented Feb 27, 2016

@robbyoconnor I completely agree.

#286 should fix this issue and should probably be merged @mike-north.

@rynam0
Copy link
Contributor

rynam0 commented Feb 29, 2016

@mike-north: I know you're busy with other priorities but this one hung me up several times and it's definitely hanging others up. Could you please merge this one when you get a moment?

@pinx
Copy link

pinx commented Mar 1, 2016

+1

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

No branches or pull requests

5 participants