cloudflare / cloudflare/python-workers-examples

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

オープン
#6 コメント 6 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
309
フォーク
69
平均マージ
3日 11時間
マージ済み PR(30日)
13

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。