Skip to content

how to use this library with lambda? #124

@wuichen

Description

@wuichen

when i import this library to my lambda in serverless project, this error shows up

module initialization error: TypeError
at Object.<anonymous> (/var/task/discounts/router.js:648:79)
at __webpack_require__ (/var/task/discounts/router.js:20:30)
at Object.defineProperty.value (/var/task/discounts/router.js:597:15)
at __webpack_require__ (/var/task/discounts/router.js:20:30)
at Object.<anonymous> (/var/task/discounts/router.js:255:23)
at __webpack_require__ (/var/task/discounts/router.js:20:30)
at Object.defineProperty.value (/var/task/discounts/router.js:63:18)
at Object.<anonymous> (/var/task/discounts/router.js:66:10)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)

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