cloudflare / cloudflare/python-workers-examples

FastAPI Example: TypeError: response.body.arrayBuffer is not a function

Aperta
#6 6 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
309
Fork
69
Merge medio
3g 11h
PR unite (30g)
13

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.