cloudflare / cloudflare/python-workers-examples
FastAPI Example: TypeError: response.body.arrayBuffer is not a function
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 309
- Forks
- 69
- Ø Merge
- 3 T. 11 Std.
- Gemergte PRs (30 T.)
- 13
Beschreibung
I am getting this error on the fastapi example:
Starting local server...
[wrangler:inf] Ready on http://127.0.0.1:8787
Loading fastapi, starlette, anyio, sniffio, openssl, pydantic, typing-extensions, pydantic-core, annotated-types
X [ERROR] Error in makeHandler
X [ERROR] Uncaught (in promise) TypeError: response.body.arrayBuffer is not a function
at loadBundle (pyodide-internal:loadPackage:36:36)
I can't figure it out at all. Maybe import asgi does not work anymore?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.