You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用AWS Amplify执行`amplify init`命令创建应用时遇错求助

AWS Amplify执行amplify init命令创建应用时遇错求助

我尝试通过AWS CLI和Amplify Studio UI控制台两种方式创建Amplify应用,但都遇到了无法继续的错误,具体情况如下:

CLI执行报错详情

在终端运行amplify init命令的完整流程及错误信息如下:

mloya@Maheshs-MacBook-Pro mahesh-authentication-lambdas % amplify init

Note: It is recommended to run this command from the root of your
app directory

? Enter a name for the project maheshauthentication

The following configuration will be applied:

Project information
| Name: maheshauthentication
| Environment: dev
| Default editor: Visual Studio Code
| App type: javascript
| Javascript framework: none
| Source Directory Path: src
| Distribution Directory Path: dist
| Build Command: npm run-script build
| Start Command: npm run-script start

? Initialize the project with the above configuration? Yes

Using default provider  awscloudformation

? Select the authentication method you want to use: AWS profile

For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html

? Please choose the profile you want to use default

 We are unable to process your request. Please reach out to your support representative.

(附错误界面截图:CLI执行时的错误弹窗)

Amplify Studio UI控制台报错情况

通过Amplify Studio UI控制台尝试创建应用时,同样触发了错误,但界面未返回具体的错误文本信息。

已做的排查工作

我已经针对可能的问题点做了排查,但问题仍然存在:

  • 检查了相关IAM角色的权限配置,确认所有Amplify初始化所需的权限都已正确配置
  • 核实了AWS服务配额,确认没有出现配额耗尽的情况;甚至尝试使用一个全新的、无任何配额限制的AWS账号,以及拥有Admin权限的角色进行操作,结果依然报错
  • 验证了AWS CLI的其他功能正常:比如执行s3 ls命令可以正常访问S3服务,说明CLI与AWS账号的连接是正常的

有没有朋友遇到过类似的情况?或者有什么其他的排查方向可以建议?

备注:内容来源于stack exchange,提问作者Mahesh_Loya

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 13:28:11