【问题标题】:NoSuchKey: The specified key does not exist. while push amplify graphql APINoSuchKey:指定的键不存在。同时推送放大graphql API
【发布时间】:2020-08-23 06:15:49
【问题描述】:

我正在使用 AWS 放大创建 graphql API。 我运行了命令并创建了 schema.graphql,但是当我运行 Amplify push 时出现此错误:

获取后端环境的更新:dev from the cloud.(node:21276) UnhandledPromiseRejectionWarning: NoSuchKey: The 指定的键不存在。

我该如何解决这个问题?

【问题讨论】:

    标签: amazon-web-services graphql aws-amplify


    【解决方案1】:

    我意识到这个问题已经 4 个月了。希望您现在已经解决了。

    检查您正在使用的 Amplify CLI 版本。这个错误出现在 4.21.4 中,回滚到 4.21.3 修复了它。该错误似乎已在 4.29.4 中返回,并且回滚到 4.29.0 为我解决了它。

    供参考:https://github.com/aws-amplify/amplify-cli/issues/4612

    【讨论】:

    • 感谢升级版本有帮助
    • 启用 CI/CD 的情况下如何解决?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-01
    • 2021-05-12
    • 1970-01-01
    • 2022-06-19
    • 1970-01-01
    相关资源
    最近更新 更多