小编Zio*_*o-4的帖子

放大构建时的无效功能标志配置

我正在使用 Amplify 进行构建完整堆栈应用程序的演练,但我陷入了第三个模块,添加了 auth。我完全按照所有说明进行操作,但我的构建失败,提示存在无效的功能标志,如下所示。

                                 # Starting phase: build
2022-02-14T02:47:02.527Z [INFO]: [31mInvalid feature flag configuration[39m
2022-02-14T02:47:02.530Z [INFO]: [31mThese feature flags are defined in the "amplify/cli.json" configuration file and are unknown to the currently running Amplify CLI:[39m
                                 [31m  - project[39m
                                 [31m  - graphqltransformer.transformerversion[39m
                                 [31m  - graphqltransformer.suppressschemamigrationprompt[39m
                                 [31m  - graphqltransformer.securityenhancementnotification[39m
                                 [31m  - graphqltransformer.showfieldauthnotification[39m
                                 [31m  - auth.useenabledmfas[39m
                                 [31mThis issue likely happens when the project has been pushed with a newer version of Amplify CLI, try updating to a newer version.[39m
                                 [31mEnsure that the CI/CD …
Run Code Online (Sandbox Code Playgroud)

amazon-web-services reactjs aws-amplify aws-amplify-cli

5
推荐指数
1
解决办法
3907
查看次数