question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Function category update bug

See original GitHub issue

Note: 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:

  1. amplify init
  2. amplify add function
  3. amplify push
  4. 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
  5. 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:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jarrettjcommented, Jul 5, 2019

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 😃.

0reactions
github-actions[bot]commented, May 27, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found