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

TypeError #2

Open
fabsi88 opened this issue Mar 13, 2018 · 0 comments
Open

TypeError #2

fabsi88 opened this issue Mar 13, 2018 · 0 comments

Comments

@fabsi88
Copy link

fabsi88 commented Mar 13, 2018

Hi,

I get a TypeError at line
const dbGet = promisify(docClient.get, docClient);

Just used it all the same
const awsSDK = require('aws-sdk'); const promisify = require('es6-promisify'); const docClient = new awsSDK.DynamoDB.DocumentClient();

module initialization error: TypeError at Object.<anonymous> (/var/task/index.js:33: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) at Module.require (module.js:497:17) at require (internal/module.js:20:19)

any idea?

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