-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the UI locally does not work #44
Comments
Hello @aravindkaws , So using force fixes the problem, in order to make the UI work locally it is also needed to create the cognito user pool manually and the identity pool. I did that but I forgot to assign enough permissions to the user that I created for the login of the application. After doing so, the UI was able to retrieve the data :) Thanks for your assistance and an amazing job once again |
@Laazarus : You are not required to manually create a Cognito user pool or identity pool for the UI access since MRE already creates them for you. You can find these exported as CloudFormation outputs under the |
Hello @araviraj-aws , I was referring to when you decide to run the front end in local mode and therefore you run the deploy command with the option --disableui. In this case, the procedure did not create the cognito pool for us and we had to create it manually. I don't know if this will happen to anyone or if we did something wrong. |
Hi @Laazarus ! The |
Thanks @araviraj-aws , We will try to find a way to start the framework as this is still a problem for us. Thanks so much for your help and your support and sorry if we asked so many questions. |
Hello,
Thanks so much for the help in configuring the workflow I can confirm that I am able to deploy everything.
When I try to run the UI locally though I am not able to execute it.
Running the command npm
npm i --legacy-peer-deps
and
npm start
results in the following.
`> [email protected] start
Cannot find module 'ajv/dist/compile/codegen'
Require stack:
I tried to install the packages using the --force command and in this case I am able to run the UI locally but I get a lot of errors in the console log and the message "A network Error has occurred" in the UI.
I configured the correct parameters in the .env file too.
I will try to deploy the front end too (even if I would like to avoid it) to see if I can run the UI in this way
Thanks again for the support
The text was updated successfully, but these errors were encountered: