serverless / compose

Orchestrate Serverless Framework in monorepos
https://serverless.com/framework/docs/guides/compose
MIT License
111 stars 15 forks source link

TypeError: Cannot read properties of undefined (reading 'logger') #73

Closed kkarimi closed 2 years ago

kkarimi commented 2 years ago

I am very eager to try out this tool and give feedback, unfortunately the current version 0.0.9 seems to be broken, all the commands I try, I get this error:

$ npx serverless-compose info --verbose
/.../node_modules/@serverless/compose-beta/src/index.js:44
  handleError(error, context.logger);
                             ^

TypeError: Cannot read properties of undefined (reading 'logger')
    at process.<anonymous> (../node_modules/@serverless/compose-beta/src/index.js:44:30)
    at Object.onceWrapper (node:events:510:26)
    at process.emit (node:events:390:28)
    at process._fatalException (node:internal/process/execution:170:25)
    at processPromiseRejections (node:internal/process/promises:246:11)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
pgrzesik commented 2 years ago

Hey @kkarimi - sorry you've run into trouble - this has been fixed and will be included in the next release (early on Monday)

mnapoli commented 2 years ago

This should be fixed in the latest release 👍