Error: Can't find meta/_journal.json file when trying to apply migrations in a lambda

I'm trying to apply migration in a lambda locally with running sls invoke local -f db_run_migrations
I use serverless framework with the serverless-esbuild plugin to package my lambdas
I execute the lambda using the sls invoke local -f db_run_migrationscommand
This is my folder structure and lambda handler
image.png
Was this page helpful?