gpt4 book ai didi

amazon-web-services - 运行 Amplify Auth Update 后运行 Amplify Push 时出错

转载 作者:行者123 更新时间:2023-12-04 08:19:31 26 4
gpt4 key购买 nike

我按照说明操作 here为我的 iOS 应用程序添加身份验证。我首先运行 amplify auth update,完成所有步骤,然后运行 ​​amplify push。但是,amplify push 失败并出现以下错误:

/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/gluegun/build/index.js:13
throw up;
^

Error: ENOENT: no such file or directory, stat '/Users/yunfeiguo/Documents/programming/zhiyouios/amplify/#current-cloud-backend/api/zhiyou'

知道这里可能有什么问题吗?

最佳答案

我执行了以下操作,它解决了我的问题。

按照说明进行操作 here并调用 amplify hosting add。

然后将 api 和 auth 文件夹及其内容从后端文件夹移动到#current-cloud-backend 文件夹。

然后运行放大推送。

关于amazon-web-services - 运行 Amplify Auth Update 后运行 Amplify Push 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53527155/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com