创建API模型时,Amplify CLI挂起数小时

问题描述

我有一个使用Amplify Auth的测试Android应用。一切都按预期进行。

然后我尝试更新Auth类别以添加用户池组和管理员 查询API。在运行push时,构建会挂在“正在创建API模型...”中,因此 我关闭了Android Studio,然后重试,结果相同。

然后我删除了Auth(以及用户池组,lambda函数和API),并 再次添加了验证(amplify add auth)。

以下是我为API选择的选项:

Do you want to add User Pool Groups? Yes
? Provide a name for your user pool group: admin
? Do you want to add another User Pool Group Yes
? Provide a name for your user pool group: users
? Do you want to add another User Pool Group No
√ Sort the user pool groups in order of preference · admin,users
Do you want to add an admin queries API? Yes
? Do you want to restrict access to the admin queries API to a specific Group Yes
? Select the group to restrict access with: admin

运行push时,它再次挂在:

Creating API models...
/ Updating resources in the cloud. This may take a few minutes...

两个多小时后,我关闭了Android Studio

感谢您为解决此问题提供的任何帮助。谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)