I originally asked this on the ember-cli-sass project and was directed here since it's most likely node-sass related. Here's my question reproduced from my original post on ember-cli-sass.
I recently added ember-cli-sass and had Sass working fine on one machine. I cloned my repo on a different machine and ran into this issue. The code is the same, cloned directly from the repo.
When I run ember build I get:
version: 1.13.1
Build failed.
Expanded null selector
Error: Expanded null selector
at options.error (/Users/amageed/code/emberproject/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/lib/index.js:277:32)
A blank app.scss file gives no error, but any CSS content causes this error to occur.
I'm not sure what could possibly be different between both machines and their setups. They're both running the same versions of node, and all dependencies are coming straight from what I had defined in package.json and bower.json. A co-worker was also able to clone the repo and had a successful build.
I'm on Node v0.12.7 (npm 2.11.3), ember-cli 1.13.1, ember 1.12.1.
I've tried completely removing node and associated folders, and reinstalling the dependencies from npm/bower to start fresh but there was no difference.
Any ideas?