-
Notifications
You must be signed in to change notification settings - Fork 27
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
Error with got decompressResponse is not a function #95
Comments
That's pretty strange... The only related issue in got is this and it seems you don't have that config in package.json. Just to confirm, is this code fragment run over the renderer process? I have no clue on top of my mind now... Maybe I can clone your project and check it locally. Does the master branch is up-to-date? |
It should be on the |
Actually, I have propose a PR to fix. It just a guide to migrate to new API. You don't need to merge it. For the |
What does the |
In {
"browser": { "module-name": true/false }
} If the |
So should I add |
You just need remove browser field in got package.json. Adding it in your package.json won't fix the webpack bundle, since to bundle the got, webpack will follow the config in got's package json, not the root project. |
Fixed with PR #125 |
When I use any method that has some kind of http request, I get the following error:
Here is my code:
Edit
Auth module still seems to work because if I recall correctly, it uses
window.fetch
instead ofgot
.The text was updated successfully, but these errors were encountered: