Error: Unexpected error
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- github, typescript
调研方向
从 playground URL 开始,检查 js/components/litdev-playground-page.js 中报告的 updateGist 路径,尤其是 PATCH /gists 请求。如果可能,使用提供的 gist 重现失败,并确定 GitHub 返回 HTTP 422 的原因;当 playground 能够更新 gist 且不显示“Unexpected error”时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I encountered the following error on lit.dev:
Unexpected error
Error calling GitHub API PATCH /gists/dc2fb1d494889722a580dd315773203e (HTTP status 422)
Stack trace:
Error: Error calling GitHub API PATCH /gists/dc2fb1d494889722a580dd315773203e (HTTP status 422)
at y (https://lit.dev/js/components/litdev-playground-page.js:17:396)
at async C.updateGist (https://lit.dev/js/components/litdev-playground-page.js:27:5527)
URL: https://lit.dev/playground/#gist=dc2fb1d494889722a580dd315773203e
Site version: prod-42d1ed5
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
- 主要语言
- TypeScript
- 星标
- 140
- 派生
- 229
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lit/lit.dev 的其他 Issue
-
The example for `when` doesn't show that it takes the condition value as a parameter可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 62/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
siyuan-note/siyuan#21692 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
GetStream/stream-chat-react#3467 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
resend/resend-node#1206 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
cloudflare/cloudflare-typescript#2821 ·