Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambda not working after redeploy #94

Open
iain-b opened this issue Aug 16, 2022 · 0 comments
Open

lambda not working after redeploy #94

iain-b opened this issue Aug 16, 2022 · 0 comments

Comments

@iain-b
Copy link
Contributor

iain-b commented Aug 16, 2022

I ran yarn yarn run deploy:lambda updating to node 16 (as it happened this could be done in the UI).

subsequently the lambda fails with

2022-08-16T09:08:01.685Z	undefined	ERROR	Uncaught Exception 	
{
    "errorType": "Runtime.ImportModuleError",
    "errorMessage": "Error: Cannot find module '@bugsnag/js'\nRequire stack:\n- /var/task/dist/app.js\n- /var/task/dist/lambda.js\n- /var/runtime/index.mjs",
    "stack": [
        "Runtime.ImportModuleError: Error: Cannot find module '@bugsnag/js'",
        "Require stack:",
        "- /var/task/dist/app.js",
        "- /var/task/dist/lambda.js",
        "- /var/runtime/index.mjs",
        "    at _loadUserApp (file:///var/runtime/index.mjs:726:17)",
        "    at async Object.module.exports.load (file:///var/runtime/index.mjs:741:21)",
        "    at async file:///var/runtime/index.mjs:781:15",
        "    at async file:///var/runtime/index.mjs:4:1"
    ]
}

I'm not sure if this is an issue with @bugsnag or what we expect the state of this app to be so I'm not going to debug at this time but just leave this context here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant