You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.
@anselmh I do have ruby sass installed and I chose Compass as the preprocessor Sass 3.3.6 (Maptastic Maple) ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] Compass 0.12.6 (Alnilam)
I just tried using the default Sass with the generator and I'm getting this error after running grunt
Linting test/specs/example.spec.js ...ERROR
[L8:C44] W098: 'module' is defined but never used.
define(['modules/module'], function (module) {
Warning: Task "jshint:all" failed. Use --force to continue.
Aborted due to warnings.
Well, the second one is not an error with the app itself but only says you will have to either remove the module or use the module (see JSHint config and RequireJS docs).
This leads us to the follow up conclusion that the initial issue you have is with Compass chosen as preprocessor. I see the issue now, as compass is not using the same sass module but its own and needs a different grunt task configuration in INIT. For now, you can only fix this yourself by including the compass dependency and write the task partial yourself.
I’ll update the issue regardingly so we can keep track of this or fix it. Also, feel free to open a pull request to fix this. :)
anselmh
changed the title
Running grunt gives error
Compass isn’t configured properly when chosen as preprocessor
May 1, 2014
Running
grunt
after generating init yields an errorWarning: Task "sass:dev" not found. Use --force to continue.
Aborted due to warnings.
In fact getting that error for anything related to sass
Any ideas what could be causing this?
The text was updated successfully, but these errors were encountered: