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

Grunt build error #48

Closed
fernandofranca opened this issue Oct 11, 2015 · 7 comments
Closed

Grunt build error #48

fernandofranca opened this issue Oct 11, 2015 · 7 comments
Labels

Comments

@fernandofranca
Copy link

After an npm install I'm getting this error while trying to build with the provided Grunt file.

$ grunt build
Running "coffee:build" (coffee) task
>> 1 files created.

Running "sass:build" (sass) task
OptionParser::NeedlessArgument: needless argument: --sourcemap=none
  Use --trace for backtrace.
Warning: Exited with error code 1 Use --force to continue.

Aborted due to warnings.
@fernandofranca
Copy link
Author

To keep it from crashing due Sass, I've just removed the step from the build array:

    # Tasks
    grunt.registerTask 'build', [
        'coffee:build'
        'concat:build'
        'uglify:build'
        'clean:build'
    ]

@anthonyjb
Copy link
Member

Hi @fernandofranca the issue is your version of Sass, I've had the same problem in the past, I recommend you update Sass to the latest version, I'm running Sass 3.4.18 (Selective Steve) currently.

@fernandofranca
Copy link
Author

Sure!
I'm with Sass 3.3.0.rc.4 (Maptastic Maple).
Updating right now.
Thanks, @anthonyjb !

@anthonyjb
Copy link
Member

No problem - can you confirm that fixes just to be sure :)

@fernandofranca
Copy link
Author

Done!
It was my outdated Sass tool.

@anthonyjb
Copy link
Member

Thanks for confirming 👍

@fernandofranca
Copy link
Author

Thanks for your help!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants