Closed Paul-E closed 10 years ago
We use grunt-retro
to add back that functionality to support grunt@0.4
so we could support both versions. The tests even run against grunt@0.4
.
https://github.com/twolfson/grunt-curl/blob/2.0.2/package.json#L45-L46
I am guessing something has changed in 0.4.5
that broke this functionality. I will take a look by the end of the weekend.
Hm, strange. The tests are passing for me with grunt@0.4.5
. What version of grunt-curl
, grunt-retro
, node
, and npm
are you using?
npm ls grunt-curl
npm ls grunt-retro
node --version
npm --version
I can't seem to replicate this error when I try to create a minimal example of the error in a fresh project. It must have been something specific to my set up at the time.
I tried to use grunt-curl while running grunt v0.4.5, but I get the error:
Loading "curl.js" tasks...ERROR
>> TypeError: Object #<Object> has no method 'registerHelper'
grunt-curl currently makes uses of registerHelper, which has been removed in the 0.4.x versions of grunt. This seems to indicate that grunt-curl is written for grunt v0.3.x. Users of grunt v0.4.x such as myself would find grunt-curl useful.