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

change lodash grunt config flag to 'development' from 'debug' #291

Merged
merged 1 commit into from
Jan 31, 2015
Merged

change lodash grunt config flag to 'development' from 'debug' #291

merged 1 commit into from
Jan 31, 2015

Conversation

natejenkins
Copy link
Contributor

I was having a build error when running:

grunt dist

grunt dist
Running "clean:all" (clean) task
>> 2 paths cleaned.

Running "clean:coverage" (clean) task
>> 0 paths cleaned.

Running "lodash:target" (lodash) task

Running "browserify:quill" (browserify) task
>> Error: ENOENT, open '.build/lodash.js'
Warning: Error running grunt-browserify. Use --force to continue.

Aborted due to warnings.

It looks like 'debug' is no longer a supported flag, at least according to what I found at https://www.npmjs.com/package/grunt-lodash:

// with or without the -- 
    // these are the only tested options, 
    // as the others don't make sense to use here 
    'flags': [
      '--stdout',
      'development',
      '--production',
      'source-map'
    ],

Changing 'debug' to 'development' results in a successful grunt dist and the tests all pass. I am by no means a grunt expert so maybe I missed something obvious here.

@natejenkins
Copy link
Contributor Author

Forgot to add that I am on Linux Mint 17, nodjs v0.10.25, npm 1.3.10, and grunt-cli 0.1.13

jhchen added a commit that referenced this pull request Jan 31, 2015
change lodash grunt config flag to 'development' from 'debug'
@jhchen jhchen merged commit afcc7e2 into slab:develop Jan 31, 2015
@jhchen
Copy link
Member

jhchen commented Jan 31, 2015

Thanks for the fix!

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

Successfully merging this pull request may close these issues.

2 participants