cloudflare / cloudflare/python-workers-examples

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

未关闭
#6 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
309
派生
69
平均合并
3 天 11 小时
30 天内合并 PR
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 摘要。