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

Fatal error when running grunt on 0.3.x project #9

Closed
Krinkle opened this issue Jan 2, 2013 · 3 comments
Closed

Fatal error when running grunt on 0.3.x project #9

Krinkle opened this issue Jan 2, 2013 · 3 comments

Comments

@Krinkle
Copy link
Contributor

Krinkle commented Jan 2, 2013

On a project with a grunt.js file from before the 0.4 upgrade (in this case an old branch of mine from jquery/jquery) running grunt (/usr/local/bin/grunt -> ../lib/node_modules/grunt-cli/bin/grunt) gives the following:

$ grunt
Fatal error: Object prototype may only be an Object or null

$ grunt --verbose
Initializing
Command-line options: --verbose

Reading "null" Gruntfile...ERROR
Fatal error: Object prototype may only be an Object or null
@cowboy
Copy link
Member

cowboy commented Jan 2, 2013

I don't have any problem here running the 'grunt' command from grunt-cli inside a project where grunt 0.3.x has been installed locally.

@cowboy
Copy link
Member

cowboy commented Jan 2, 2013

What version of grunt-cli are you using? Please make sure you're using the latest.

@Krinkle
Copy link
Contributor Author

Krinkle commented Jan 3, 2013

Using npm install -g grunt-cli@latest, and jquery/jquery right before it switched to Grunt 0.4.x.

I can no longer reproduce the error though.

@Krinkle Krinkle closed this as completed Jan 3, 2013
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

No branches or pull requests

2 participants