AWS vuejs Amplify - 拉后端失败

AWS vuejs Amplify - Failed to pull the backend

我使用 Admin 创建了一个应用程序 UI 然后创建了一个新的 Vue JS 应用程序。

当我在 CLI 上 运行 amplify pull --appId d2v01y74i7xjqk --envName staging 时,出现以下错误:

Invalid feature flag configuration

These feature flags are defined in the "amplify/cli.json" configuration file and are unknown to the currently running Amplify CLI:

graphqltransformer.skipoverridemutationinputtypes
This issue likely happens when the project has been pushed with a newer version of Amplify CLI, try updating to a newer version.

我已经将 amplify 升级到最新的 4.45.0 版本。

有谁知道如何解决这个问题?

我终于成功了,至少可以说是令人沮丧。

curl -sL https://aws-amplify.github.io/amplify-cli/install | zsh && $SHELL

一旦我 运行 这个,它就对我有用了。