Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Lambda function errors out #17

@su7edja

Description

@su7edja

I'm following the tutorial and I'm having trouble in the testing section. The lambda function errors out. Here's the log output:

START RequestId: 2fbcfe89-d08d-11e6-a91d-4fb848ee7914 Version: $LATEST
2017-01-02T01:45:50.007Z	2fbcfe89-d08d-11e6-a91d-4fb848ee7914	TypeError: Cannot read property 'locale' of undefined
    at AlexaRequestEmitter.HandleLambdaEvent (/var/task/node_modules/alexa-sdk/lib/alexa.js:102:38)
    at AlexaRequestEmitter.Object.defineProperty.value (/var/task/node_modules/alexa-sdk/lib/alexa.js:91:31)
    at exports.handler (/var/task/index.js:267:11)
END RequestId: 2fbcfe89-d08d-11e6-a91d-4fb848ee7914
REPORT RequestId: 2fbcfe89-d08d-11e6-a91d-4fb848ee7914	Duration: 120.75 ms	Billed Duration: 200 ms 	Memory Size: 128 MB	Max Memory Used: 35 MB	
RequestId: 2fbcfe89-d08d-11e6-a91d-4fb848ee7914 Process exited before completing request

Node version: v6.5.0
npm version: 3.10.3

edited:
even after adding the changes proposed in #9 and #11 , I'm still getting the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions