Function category update bug
See original GitHub issueNote: If your issue/bug is regarding the AWS Amplify Console service, please log it in the official AWS Amplify Console forum
Describe the bug When trying to update the lambda function, the CLI errors out.
To Reproduce Steps to reproduce the behavior:
amplify init
amplify add function
amplify push
- make some modifications on the function resource, for example, update the xxx-cloudformation-template.json file’s setting and change the nodejs version from nodejs8.10 to nodejs10.x
amplify push
I got the following error:
ENOENT: no such file or directory, lstat ‘/Users/<username>/workspace/<project-name>/amplify/backend/function/lambdaversion33320d73/dist/lambdaversion33320d73-726d2f32382f71397377-build.zip’
Expected behavior
amplify push
should be successful
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: macOS Sierra version 10.12.6
- Amplify CLI version: 1.7.6
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Function error after Patch function - Power Platform Community
Solved: Hi everyone, I'm facing a stranged situation with patch function today. It's very simple, I have a SAVE button with patch function...
Read more >Bug: too hard to fix "Cannot update a component from inside ...
The problem is when one component queues an update in another component, while the first component is rendering. In other words, don't do...
Read more >BUG-000129062: Category selector actions fail to function when it h..
Bug BUG-000129062 ; Synopsis. Category selector actions fail to function when it has been configured using a map service published from a joined...
Read more >Showroom - category bug after update to 1.11.0
Updated Showroom last week and noticed a new category option, in the editor, under "Header" - "Categories Display" - "in the main navigation"....
Read more >Latest update causing fatal error | WordPress.org
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Cooked_Post_Types::taxonomy_page_title(), 1 passed in /wp-includes/class-wp-hook.php ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yup, same here. I am having to rename the zip to latest-build.zip to proceed with amplify push after updating to 1.7.8. At least it has a workaround 😃.
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.