Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

aws_user_pools_id is not defined #37

Open
max1018 opened this issue Aug 8, 2017 · 2 comments
Open

aws_user_pools_id is not defined #37

max1018 opened this issue Aug 8, 2017 · 2 comments

Comments

@max1018
Copy link

max1018 commented Aug 8, 2017

When i try log into the application i get this error. What should i do?

@jkeczan
Copy link

jkeczan commented Sep 13, 2017

The issue is that the variable is NOT set in the was-config.js file.

You can add it to the file, along with all the const variable declarations in the user.ts file but when you regenerate the file form MobileHub, it will overwrite them again. I am not 100% sure how to prevent that outside of declaring them in a separate file

@jkeczan
Copy link

jkeczan commented Oct 5, 2017

Update:

This variable is also available in aws-exports.js as well. You could download and include the file as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants