Closed chrisbenson closed 9 years ago
Unfortunately the problem is middlestream so to speak: https://github.com/joliss/broccoli-sass/pull/43
If you change your package.json to "ember-cli-sass": "aexmachina/ember-cli-sass#sources-content"
you might be able to get it to work.
Should also be working with ember-cli-sass 3.1.0-beta.5. Will update asap, or also happily accept a pr.
@chrisbenson check the latest master version - should now work. Will publish a new version soon.
Should be working with version 1.0.1
as well as 1.1.0
of the addon.
Hello! Can you help with same problem..
igor@hp-laptop ~/projects/extending-todomvc [9:12:38] ember install:addon ember-cli-foundation-sass ⬡ 5.1.0 [±master] version: 1.13.13 Could not find watchman, falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman for more info. This command has been deprecated. Please use
ember install <addonName>
instead. Installed packages for tooling via npm. installing ember-cli-foundation-sass install bower package foundation Installing browser packages via Bower... cached git://github.com/zurb/bower-foundation.git#5.5.3 cached git://github.com/jquery/jquery.git#2.1.4 cached git://github.com/jquery/jquery.git#1.11.3 cached git://github.com/jquery/jquery.git#2.1.4 cached git://github.com/jquery/jquery.git#2.1.4 conflict Unable to find suitable version for jquery 1) jquery >= 1.7.0 < 2.2.0 2) jquery ^1.11.3 3) jquery >= 2.1.0 4) jquery >=1.2 5) jquery >=1.6 [?] Answer: 2 Installed browser packages via Bower. create app/styles/app.scss install packages ember-cli-sass, broccoli-clean-css Installing packages for tooling via npmCan not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.1.1/linux-x64-node-5.1/binding.node Installing packages for tooling via npm.module.js:340 throw err; ^Error: Cannot find module '/home/igor/projects/extending-todomvc/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:289:25) at Function.Module.runMain (module.js:457:10) at startup (node.js:138:18) at node.js:974:3 Build failed Installed packages for tooling via npm. Installed addon package.
igor@hp-laptop ~/projects/extending-todomvc [9:16:22] $ ember s ⬡ 5.1.0 [±master ●●]
libsass
bindings not found. Try reinstallingnode-sass
? Error:libsass
bindings not found. Try reinstallingnode-sass
? at getBinding (/home/igor/projects/extending-todomvc/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/lib/index.js:22:11) at Object.(/home/igor/projects/extending-todomvc/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass/lib/index.js:188:23) at Module._compile (module.js:425:26) at Object.Module._extensions..js (module.js:432:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:313:12) at Module.require (module.js:366:17) at require (module.js:385:17) at Object. (/home/igor/projects/extending-todomvc/node_modules/ember-cli-sass/node_modules/broccoli-sass/index.js:5:12) at Module._compile (module.js:425:26)
I see in previous console log:
Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.1.1/linux-x64-node-5.1/binding.node
I have downgraded nodejs to version 0.12.8 and instead this error i have seen
Installing packages for tooling via npm...linux-x64-node-0.12 exists; testing
It works now.
Look like it does not work with nodejs 5.1.0
When using io.js v1.2.0, I am unable to get past this point on a brand new Ember.js app with only ember-cli-foundation-sass installed. After researching a bit, it seems that this was caused by node-sass, but that it has already been fixed upstream. I'm not sure how to make ember-cli-foundation-sass use node-sass 2.0.1 rather than node-sass 1.2.3, since node-sass is not listed as a dependency in package.json. Thank you.