-
Notifications
You must be signed in to change notification settings - Fork 23
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 exited with code 1 #63
Comments
Sorry, forgot to answer. Can you post your gruntfile so we can have a look at that? |
Here's the gruntfile. Some file paths have been removed for simplicity.
Thanks, |
Could you try with the latest version from master and see if that fixes the issue? |
Did you install "grunt-cli" package on nodejs ? => npm install -g grunt-cli |
@maximegris - Yes, I had installed grunt-cli globally. The package worked with a simple gruntfile but was having trouble with the gruntfile I posted above. @kokarn - Thanks for the update. I'll update the package and see if it works. |
We had some problems with mocha making grunt unable to run. Would you mind commenting out one task at a time to see if you can narrow it down? |
I have the same problem and I'd like to help. Do you need any log? |
@kokarn Honestly, I gave up and continued with my standard CLI. should I try again? :) |
Sure! Any input is appreciated. Quite a few updates to the package since you had trouble with it. |
This is what I did based on what I read on this post to solve the issue. Hope this works for anyone else. I had the same issue with "Grunt exited with code 1.". But after read this post I uninstalled through cmd installed ----- npm install -g grunt-cli and now it's working fine with any of the grunt file that I have in several projects. |
I installed the runner (v 0.11.0) and the gruntfile gets parsed successfully. But running a task fails with an error message saying "Grunt exited with code 1."
The text was updated successfully, but these errors were encountered: