【发布时间】:2019-11-01 02:29:59
【问题描述】:
生日,
我有一个有效的 Amplify 项目。好吧,在我运行 amplify add auth 并将更改推送到 master 之前,一切都很好。我按照这里的说明https://dev.to/dabit3/the-complete-guide-to-user-authentication-with-the-amplify-framework-2inh
现在我收到以下错误,我的主人是红色的:(
在放大文档中找不到任何有用的信息。我确实尝试从这个https://github.com/aws-amplify/amplify-cli/tree/master/packages/amplify-cli/sample-headless-scripts 运行headless_init_env_auth.sh 脚本,但它没有帮助。
这个错误似乎没有记录在任何地方。
2019-06-18T11:16:53.459Z [INFO]: Error: auth headless init is missing the following inputParams facebookAppIdUserPool, facebookAppSecretUserPool, googleAppIdUserPool, googleAppSecretUserPool
at updateConfigOnEnvInit (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/amplify-category-auth/provider-utils/awscloudformation/index.js:287:15)
at /root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/amplify-category-auth/index.js:201:28
at /root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/promise-sequential/index.js:16:18
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:229:7)
2019-06-18T11:16:53.466Z [ERROR]: !!! Build failed
2019-06-18T11:16:53.466Z [ERROR]: !!! Non-Zero Exit Code detected```
【问题讨论】:
-
你找到解决办法了吗?
标签: authentication aws-amplify