Error when grunt-context is added #12

Closed
BilalBudhani opened this Issue May 4, 2013 · 2 comments

Comments

Projects
None yet
2 participants

I'm facing this error when I load grunt-context in my Gruntfile.js.

Loading "context.js" tasks...ERROR
>> TypeError: Object #<Object> has no method 'registerHelper'

Package.json

  "devDependencies": {
    "grunt": "~0.4.1",
    "grunt-s3": "~0.2.0-alpha",
    "grunt-contrib-uglify": "~0.2.0",
    "grunt-context": "~0.3.3"
  }

Grunt now itself provide options to pass the environment (http://gruntjs.com/api/grunt.option) use that instead of this plugin.

Owner

indieisaconcept commented May 4, 2013

@BilalBudhani, just updated the readme based on your comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment