Cannot run Amplify on Localstack
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- devops
调研方向
从 issue 中链接的 Amplify LocalStack 说明开始,并使用 LocalStack 3.2.0 和 Amplify 12.10.1 复现这些命令。比较 amplify init --use-localstack true 的日志与 amplify push --use-localstack true 的失败情况,重点关注缺失的 backend 环境和报告的 stack。初始化和 push 在没有 missing-stack 错误或 serializer 警告的情况下完成,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I followed the instructions here: https://docs.localstack.cloud/user-guide/aws/amplify/
Running localstack at 3.2.0. Amplify is 12.10.1.
When I run amplify init --use-localstack true, it seems to work, however this shows up in the localstack logs:
2024-03-17T22:20:02.415 INFO --- [ asgi_gw_1] localstack.request.aws : AWS amplify.ListApps => 200
2024-03-17T22:20:02.428 INFO --- [ asgi_gw_0] localstack.request.aws : AWS amplify.CreateApp => 200
2024-03-17T22:20:02.477 INFO --- [ asgi_gw_1] localstack.request.aws : AWS amplify.GetBackendEnvironment => 404 (NotFoundException)
2024-03-17T22:20:02.536 WARN --- [ asgi_gw_0] l.aws.protocol.serializer : Response object BackendEnvironment contains a member which is not specified: appId
When I run amplify push --use-localstack true, I get:
✖ There was an error pulling the backend environment dev.
🛑 Stack with id amplify-amptest-dev-162002 does not exist
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/
Session Identifier: d93cd4a7-0772-4e7d-bfd7-5c04a4740e87
- 主要语言
- JavaScript
- 星标
- 6
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
localstack/amplify-localstack 的其他 Issue
-
难度 5/5 一周以上 新手友好度 30/100
localstack/amplify-localstack#18 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 45/100
查看 localstack/amplify-localstack 的全部 Issue
相似的 Issue
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#30750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100