TypeError: lambda is not a function

Hello,

I am going through the tutorial and am getting this error:
TypeError: lambda is not a function

I am on the Chapter: “Building a Serverless API” and have added the create.js file as described.

I am at the point where I am running this command: serverless invoke local --function create --path mocks/create-event.json

I am not sure what is causing the issue after my investigations.

Github containing this project:

Any help would be really appreciated. Thanks

Not sure what the exact issue is but the uuid package doesn’t seem to be in your package.json?