-
Notifications
You must be signed in to change notification settings - Fork 825
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
amplify/backend/amplify-meta.json' does not exist on Build #13683
Comments
Hey @KuzonFyre, thank you for reaching out. Could you download the if you do not observe a
|
@ykethan I do see an amplify-meta.json file in the root dir of |
@KuzonFyre could you try adding |
|
@KuzonFyre from the logs it appears the build failed due to
from the comment #13667 (comment) it appears you were able to run a push. |
I double checked the current cloud backup file that I downloaded earlier and their is a parameters.json file but it is in the build folder like so Live Package updates is set to the latest version of the cli. |
@KuzonFyre interesting, the issue does show symptoms of this. |
Sent an email. |
@ykethan Any updates on this? |
Hi @KuzonFyre taking a look at the stack trace you provided, it looks like the condition that is not being hit is here amplify-cli/packages/amplify-cli-core/src/state-manager/pathManager.ts Lines 161 to 162 in 88f6e23
Looking at the amplify .zip archive you provided, I don't see what would be causing that condition to not hit. In addition to double checking that |
I can confirm that |
While I would prefer to fix this without having to just delete the amplify folder and backend env on AWS and starting fresh, that is an acceptable work around at this point. I may test this on a git branch and update this comment if I observe the same issue on a fresh setup. Update: Okay so I am going to send yet another zipped amplify folder that I set up on fresh build with the same setup, api, auth and storage. I ended up with the same error in AWS after I added the AMPLIFY_ENABLE_DEBUG_OUTPUT env variable.
In this new setup I also double checked the |
Did one more check and it doesn't look like adding storage caused any issues. @edwardfoyle @ykethan |
@KuzonFyre from the information provided it appears issue doesnt appear be on the |
Here is the relevant dependencies in the package.json file. ```
We had a version of the app deploying succesffully so I am going to go through all of the changes that occured after that point. |
@KuzonFyre you can find the |
|
Hey @KuzonFyre , thank you for the information. Would you be open for a quick chat. I am available on discord, my handle is |
Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue |
This issue is now closed. Comments on closed issues are hard for our team to see. |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.18.2
Amplify CLI Version
12.10.1
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made. I did have to make some changes locally when I was having issues with my local cli env. The issue is #13667
Describe the bug
Any pull or push command works perfectly fine on my local enviorment. When I deploy my application I get this error,
🛑 Failed to pull the backend. amplify-meta.json does not exist.
. I can confirm I have that file locally. I have not modified any build settings. This issue started occuring after I added an S3 storage bucket to amplify. I have pulled and pushed any potential updates to my repo.Expected behavior
I expect the build to finish sucessfully. I have confirmed I have no node build issues in my application.
Reproduction steps
Not sure how to reproduce this error in a blank directory.
Project Identifier
b833d96149f7eee5c40e4281e8701b1b
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: