Ask Your Question
2

Why is the aws-exports.js missing even when I have executed amplifyPush --simple?

asked 2023-06-24 14:41:33 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-24 14:47:02 +0000

huitzilopochtli gravatar image

There could be several reasons why the aws-exports.js file is missing even after executing amplifyPush --simple. Here are a few possible reasons:

  1. The file might not have been generated during the push process. This could happen if there were errors during the push process that prevented the file from being generated.

  2. The file might have been deleted accidentally. Make sure that the file is not in the .gitignore list and that it has not been manually deleted.

  3. The file might be located in a different directory. By default, the file is located in the src folder, but it's possible that it was moved to a different location.

To resolve the issue, try executing amplifyPush --force to regenerate the file. If that doesn't work, check if any of the above reasons apply and troubleshoot accordingly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-24 14:41:33 +0000

Seen: 9 times

Last updated: Jun 24 '23