You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Definitely seems to head in the right direction: My error has now changed to this:
usr/src/my-project/node_modules/request-http-cache/lib/index.js:243
callback(null, response, body);
^
TypeError: callback is not a function
at Request._callback (/usr/src/my-project/node_modules/request-http-cache/lib/index.js:243:7)
at Request.self.callback (/usr/src/my-project/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/usr/src/my-project/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage.<anonymous> (/usr/src/my-project/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
On adding a function(err, res, body) { } style parameter, obviously request returns undefined instead of a stream.
Edit: Creating another issue for your convenience in case it is more relevant to the other repository: gitterHQ/request-http-cache#5
I seem to get this error while
return request(url)
.Here is how I'm setup:
The text was updated successfully, but these errors were encountered: