-
Notifications
You must be signed in to change notification settings - Fork 824
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 push fails with Zlib error after amplify add function #13623
Comments
Hey @pr0g, thank you for reaching out. From the logs provided it appears this is occurring on the installation. Could you try changing directories into the |
Hi @ykethan, thank you very much for getting back to me so quickly, I really appreciate it! Thanks for the suggested approaches, I'm in UTC+0, so will try this tomorrow and leave an update here with how things go and update the state of the issue then. Cheers! |
Hi @ykethan, this issue appears to have resolved itself. I'm not 100% sure what actually fixed it 🤔 But I think quite a lot of our dependencies and Amplify CLI were out of date which may have been contributing. I'll close the issue for now and report back if I see it happen again and can find a repro. Thanks! |
|
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16.20.2
Amplify CLI Version
12.10.1
What operating system are you using?
Mac (Sonama 14.2.1)
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A
Describe the bug
When attempting to run
amplify push
after previously adding a new lambda function (amplify add function <name>
) after the GraphQL schema is compiled, I receive an error that looks roughly like the following:I did some searching to see if anyone else has reported this and I came across this Stack Overflow post that seems to indicate it may be related to macOS Sonama (which I'm running).
I performed the exact same operation on a different machine running Windows 11, and things worked as expected.
If you have any idea what this may be or how I could resolve I'd be very grateful to know.
Expected behavior
amplify push
works as expected on macOS Sonama when trying to add a new functionReproduction steps
Not currently available - If more information is required I can try to reproduce in a smaller project
Project Identifier
1da990300fc92aec89645b7f0ce67ae3
Log output
This is a snippet from the log
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: