SCSS files are not able to compile in my project


#1

As per the above discussion I have added in my ember-cli-build.js

var app = new EmberApp(defaults, {

// Add sass options here

sassOptions: {

  extension: 'scss'

}

});

installed all the compiler addons 3

sudo npm install --save-dev broccoli-sass

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

ember install ember-cli-compass-compiler

I have tried the same in different projects (4-5 Projects), and tried for all projects did npm install, bower install evrything works fine.

Everytime this issue stucking me alot.Trying to resolve… Please guide on this , what settings did i have to change to compile all my scss files.

Everytime I am facing the undefined variable for scss files compilation

///Here is the issue , Can any Please guide on this

directory tmp/compass_compiler-output_path-rFGCAJno.tmp/assets error tmp/compass_compiler-input_base_path-1Jr5FuFU.tmp/0/app/styles/app.scss (Line 2: Undefined variable: “$color”.) write tmp/compass_compiler-output_path-rFGCAJno.tmp/assets/main.css write tmp/compass_compiler-output_path-rFGCAJno.tmp/assets/variables.css Compilation failed in 1 files.

Command failed: /bin/sh -c compass compile --output-style=compressed --sass-dir=/home/indiapc_dev_05/OfficeAPP/emberCLI/ember-cli-sass-test-master/tmp/compass_compiler-input_base_path-1Jr5FuFU.tmp/0/app/styles --css-dir="/home/indiapc_dev_05/OfficeAPP/emberCLI/ember-cli-sass-test-master/tmp/compass_compiler-output_path-rFGCAJno.tmp/assets"

Error: Command failed: /bin/sh -c compass compile --output-style=compressed --sass-dir=/home/indiapc_dev_05/OfficeAPP/emberCLI/ember-cli-sass-test-master/tmp/compass_compiler-input_base_path-1Jr5FuFU.tmp/0/app/styles --css-dir="/home/indiapc_dev_05/OfficeAPP/emberCLI/ember-cli-sass-test-master/tmp/compass_compiler-output_path-rFGCAJno.tmp/assets"