Skip to content

TypeError: Cannot read property 'push' of undefined #32

@manjunatha-d

Description

@manjunatha-d

I'm getting this error while using jsonp on node.js

TypeError: Cannot read property 'push' of undefined
    at Request.end ((path_to_project)/node_modules/superagent-jsonp/dist/superagent-jsonp.js:67:15).

On line 36 in the source code, it is trying to push to this._query, which is undefined. I don't see this._query initialised. That's causing issues, may be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions