Error: Lambda worker was not created due to cold start failure
krutilin opened this issue · comments
Describe the bug
ERROR Error: Lambda worker was not created due to cold start failure 15:37:34
at worker (/var/task/node_modules/@resolve-js/runtime-aws-serverless/es/index.js:66:11)
at Runtime.t.default [as handler] (/var/task/node_modules/@resolve-js/scripts/lib/alias/$resolve.backendEntry.js:28:22)
To Reproduce
- npx create-resolve-app shopping-list -e shopping-list
- remove leading slash in app.config
apiHandlers: [
{
path: 'api/shopping-lists.json',
handler: 'common/api-handlers/shopping-lists.js',
method: 'GET',
},
- deploy to the cloud and receive the error on deploy.
- try to remove the app using "resolve-cloud remove" and receive the error and warning again
WARN Shutdown deployment failed with "Lambda worker was not created due to cold start failure" 16:59:46
ERROR Error: Lambda worker was not created due to cold start failure 16:59:51
at worker (/var/task/node_modules/@resolve-js/runtime-aws-serverless/es/index.js:66:11)
at Runtime.r.default [as handler] (/var/task/node_modules/@resolve-js/scripts/lib/alias/$resolve.backendEntry.js:28:22)
error Command failed with exit code 1.
Expected behavior
Config validation error.
- ReSolve Version [e.g. 0.33.0]