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

how to use this library with lambda? #124

Open
wuichen opened this issue Mar 14, 2018 · 0 comments
Open

how to use this library with lambda? #124

wuichen opened this issue Mar 14, 2018 · 0 comments

Comments

@wuichen
Copy link

wuichen commented Mar 14, 2018

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)
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