eventuate-clients / eventuate-client-nodejs

Other
4 stars 3 forks source link

User Registration lambda doesn't work #55

Open dartandrevinsky opened 6 years ago

dartandrevinsky commented 6 years ago

CC: @dartvandru I deployed the User Registration lambda and found that is doesn't work. The /user-registration endpoint returns error 502. There is an error in the CloudWatch logs:

Unable to import module 'src-server/newLambda': Error
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/task/node_modules/@eventuateinc/eventuate-nodejs-client/dist/modules/AggregateRepository.js:7:20)
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)

It looks like the error occurs in /dist/modules/AggregateRepository.js:7:20) This code is there: var _regenerator = require('babel-runtime/regenerator');