Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.
This repository was archived by the owner on May 18, 2022. It is now read-only.

Cannot Find Module "ask-sdk"  #7

@mbrewster7

Description

@mbrewster7

Hi, when testing this in the Developer Portal and in Lambda, I am coming up with an error launching.

From Lambda:
{
"errorMessage": "Cannot find module 'ask-sdk'",
"errorType": "Error",
"stackTrace": [
"Function.Module._load (module.js:417:25)",
"Module.require (module.js:497:17)",
"require (internal/module.js:20:19)",
"Object. (/var/task/index.js:12:15)",
"Module._compile (module.js:570:32)",
"Object.Module._extensions..js (module.js:579:10)",
"Module.load (module.js:487:32)",
"tryModuleLoad (module.js:446:12)",
"Function.Module._load (module.js:438:3)"
]
}

Log Output:

START RequestId: 0bf41842-b51f-11e8-a476-8163611deecf Version: $LATEST
Unable to import module 'index': Error
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/var/task/index.js:12:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
END RequestId: 0bf41842-b51f-11e8-a476-8163611deecf
REPORT RequestId: 0bf41842-b51f-11e8-a476-8163611deecf Duration: 67.58 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 19 MB

This is my first coding experience, so I'm not quite sure what it isn't finding and how to fix it.

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