-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Labels
bugSomething isn't workingSomething isn't workingfunctionsIssues tied to the functions categoryIssues tied to the functions categorymockIssues tied to the mock functionalityIssues tied to the mock functionalityp3
Description
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v18.19.0
Amplify CLI Version
12.10.2
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A
Describe the bug
when running amplify mock function <functionID> --event src/event.json, got error
tcp :8900: connect: connection refused
Expected behavior
when running amplify mock function <functionID> --event src/event.json, lambda should work as expected.
Reproduction steps
- in a new folder,
yarn init -y amplify init -yamplify add function, choosego.- run
amplify mock function <functionID> --event src/event.json, see the error.
Project Identifier
No response
Log output
Details
# Put your logs below this line
Additional information
No response
Before submitting, please confirm:
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- I have removed any sensitive information from my code snippets and submission.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfunctionsIssues tied to the functions categoryIssues tied to the functions categorymockIssues tied to the mock functionalityIssues tied to the mock functionalityp3