Skip to content

lambda not working after redeploy #94

Description

@iain-b

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions