【问题标题】:Error Running Amplify Push after Running Amplify Auth Update运行 Amplify Auth Update 后运行 Amplify Push 时出错
【发布时间】:2019-04-30 19:34:58
【问题描述】:

我按照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'

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

【问题讨论】:

    标签: amazon-web-services aws-appsync aws-amplify aws-ios


    【解决方案1】:

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

    按照说明here 并调用放大托管添加。

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

    然后运行放大推送。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-25
      • 2013-08-14
      • 2021-05-11
      • 2020-12-16
      • 2021-09-03
      • 2016-01-15
      相关资源
      最近更新 更多