You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lambda cold start with this setup takes around 1ms which seems to be a bit too high, considering that if used with RDS and an ORM it would probably go even higher. Also, the package size is around 6MB which is sub-optimal.
I'd love to see these issues addressed or at least some help with how to get on track towards solving them.
{
"errorType": "Error",
"errorMessage": "Unable to find package.json in any of:\n[/var/task/_optimize/serverless-graphql-dev-graphql,\n/var/task]",
"stack": [
"Error: Unable to find package.json in any of:",
"[/var/task/_optimize/serverless-graphql-dev-graphql,",
"/var/task]",
" at init (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:61126:35)",
" at Object.463.. (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:61161:29)",
" at o (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:43:17)",
" at /var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:43:75",
" at Object.1../core/injector (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:47:17)",
" at o (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:43:17)",
" at /var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:43:75",
" at Object.12../dist/aws-wrapper (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:174:38)",
" at o (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:43:17)",
" at r (/var/task/_optimize/serverless-graphql-dev-graphql/lambda.js:45:9)"
]
The text was updated successfully, but these errors were encountered:
Problem
Lambda cold start with this setup takes around
1ms
which seems to be a bit too high, considering that if used with RDS and an ORM it would probably go even higher. Also, the package size is around6MB
which is sub-optimal.I'd love to see these issues addressed or at least some help with how to get on track towards solving them.
What I tried
serverless-plugin-optimize and serverless-plugin-webpack
This has resulted in the following error:
The text was updated successfully, but these errors were encountered: