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
Everything works perfectly the first time I run it! Thank you!
The second time I call the lambda (while it is still alive) it bombs out with the following stack trace. Line 5 is just the import: const { Template } = require('@walletpass/pass-js')
offline: Failure: Cannot redefine property: openReadStreamAsync
TypeError: Cannot redefine property: openReadStreamAsync
at Function.defineProperties ()
at Object. (/Users/jboss/dev/backend-service/serverless/node_modules/@walletpass/pass-js/dist/lib/yazul-promisified.js:8:8)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/jboss/dev/backend-service/serverless/node_modules/@walletpass/pass-js/dist/template.js:14:29)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/jboss/dev/backend-service/serverless/node_modules/@walletpass/pass-js/dist/index.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/jboss/dev/backend-service/serverless/js/controllers/walletPassHandler.js:5:22)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
The text was updated successfully, but these errors were encountered:
Everything works perfectly the first time I run it! Thank you!
The second time I call the lambda (while it is still alive) it bombs out with the following stack trace. Line 5 is just the import: const { Template } = require('@walletpass/pass-js')
offline: Failure: Cannot redefine property: openReadStreamAsync
TypeError: Cannot redefine property: openReadStreamAsync
at Function.defineProperties ()
at Object. (/Users/jboss/dev/backend-service/serverless/node_modules/@walletpass/pass-js/dist/lib/yazul-promisified.js:8:8)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/jboss/dev/backend-service/serverless/node_modules/@walletpass/pass-js/dist/template.js:14:29)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/jboss/dev/backend-service/serverless/node_modules/@walletpass/pass-js/dist/index.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/jboss/dev/backend-service/serverless/js/controllers/walletPassHandler.js:5:22)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
The text was updated successfully, but these errors were encountered: