arne-strout-icrossing / grunt-handlebars-static

MIT License
10 stars 1 forks source link

Object #<Object> has no method 'registerHelper' #2

Open RobinQu opened 11 years ago

RobinQu commented 11 years ago

this grunt plugin failed to work.

npm test

> grunt-handlebars-static@0.1.2 test /Users/robinqu/Desktop/TTS/tts-web/node_modules/grunt-handlebars-static
> grunt test

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

Running "clean:server" (clean) task
Cleaning .tmp...OK

Running "concurrent:test" (concurrent) task
    Warning: Loading "handlebars-static.js" tasks...ERROR
    >> TypeError: Object #<Object> has no method 'registerHelper'
    Warning: Task "coffee" not found. Use --force to continue.

    Aborted due to warnings.

    Elapsed time
    Total  585ms Use --force to continue.

        Aborted due to warnings.

        Elapsed time
        test             517ms
    concurrent:test  967ms
    Total            1s
    npm ERR! weird error 6
npm ERR! not ok code 0
mmwtsn commented 10 years ago

Grunt's helper system has been removed from version 0.4. This plugin needs to be refactored in order to work with Grunt 0.4.

In the meantime, specifying version Grunt 0.3 should fix this issue.