You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: