Comments (4)
@Spiralis I'm glad it worked out for you. 👍 Ps: the latest version is 3.0.6.
from cross-fetch.
Hi @Spiralis! Thanks for opening an issue. I couldn't reproduce the error. I've forked your code to test it:
https://codesandbox.io/s/abortable-fetch-forked-89tvi?file=/src/index.js
from cross-fetch.
Yeah. I just got it working myself. I am not able to see the problem in any way. I must have missed out on something essential, yet I am not seeing it.
But, happy to see it working :)
from cross-fetch.
@lquixada, I think I found the reason. I believe my failing cross-fetch was v2.2.3. Since cross-fetch failed for me with the AbortController feature, I tried other alternatives - which had their own set of problems... So I reinstalled cross-fetch to give it another go - and potentially instead contribute in regards to help fixing it. With that reinstall I got v3.0.4 - which works.
I was so sure that I was on the latest cross-fetch at the time I had the problems. I was fooled after runniing a yarn upgrade-interactive
, which did not prompt me to do the major v3 upgrade. Lesson learned, again... :|
But, thanks for the prompt reply. And thanks for the project. Great work :)
from cross-fetch.
Related Issues (20)
- Does not work in browser? (needs es module version?)
- Inconsistent behavior for headers with native Fetch API and whatwg-fetch HOT 2
- localhost is not resolving to 127.0.0.1 HOT 1
- logging feature: how could i see detailed logging of the requests that are being done for the purpose of debugging HOT 1
- failed reason: connect ETIMEDOUT
- Document Enhancement Suggestion: No Experimental Native Fetch in Node, Not an Issue Per Se HOT 2
- Alternatives? HOT 6
- Magento 2 hacked and added this script which reaches this repo HOT 1
- TypeError: data.getReader is not a function HOT 3
- res.json() Error type instance HOT 1
- getting explicit polyfill doesn't seem to work after upgrade to v4 HOT 1
- Question: does global declaration need to be kept
- TypeScript conflicts with polyfill and cloudflare workers-types
- Could not catch Premature close error HOT 1
- Add support for agent property from node-fetch HOT 1
- node-fetch v2.7.0: punycode is deprecated in 'whatwg-url' and 'tr46'
- Response.json is not defined HOT 1
- https://github.github.io/fetch/ not working!
- cross-fetch does not work in service workers of webextensions bundled with Vite
- replace is not defined, error thrown at var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' '); HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross-fetch.