Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: undefined is not a function (evaluating 'this._initBody(body)') #763

Closed
nbrustein opened this issue Mar 13, 2020 · 3 comments
Closed

Comments

@nbrustein
Copy link

We're using whatwg-fetch in production, and seeing the following error in our error reporting system occasionally in the wild. It's happening in Chrome, where I wouldn't really expect fetch to be polyfilled. Any idea what's causing it?

TypeError: undefined is not a function (evaluating 'this._initBody(body)')

@JakeChampion
Copy link
Owner

Something must be called Request as a normal function and not a Constuctor function. I.E. Without using new Request.

Do you have a code example and stacktrace for the times the error happens?

@JakeChampion
Copy link
Owner

This should be fixed by #796

@JakeChampion
Copy link
Owner

#796 is now merged

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants