Open un4ckn0wl3z opened 1 year ago
Which version of Eventstore are you running? This pull request has introduced a change that breaks node-eventstore-client@0.2
. This means that, as long as nestjs-event-store
is using node-eventstore-client@0.2
, it is only compatible with Eventstore <= 21.10.
I using this lib for storing application events. Storing process is success but got this error from internal of this lib. How to fix it. I think it throwing from protobufjs
full log: [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [NestFactory] Starting Nest application... [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] AppModule dependencies initialized +25ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreModule dependencies initialized +1ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreCoreModule dependencies initialized +0ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreModule dependencies initialized +0ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [EventStore] Connecting to persistent subscription hero on stream $ce-hero!
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] CqrsModule dependencies initialized +1ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreCoreModule dependencies initialized +0ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] HeroesGameModule dependencies initialized +1ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [RoutesResolver] HeroesGameController {/hero}: +3ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [RouterExplorer] Mapped {/hero/:id/kill, POST} route +2ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [RouterExplorer] Mapped {/hero, GET} route +1ms [Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [NestApplication] Nest application successfully started +5ms [Nest] 2912 - 01/25/2023, 4:48:09 PM LOG [EventStoreBroker] EventStore connected! KillDragonCommand... [Nest] 2912 - 01/25/2023, 4:48:12 PM ERROR [EventStore] ProtocolError: missing required 'result' { eventNumber: 'ID52bbzfgIFuAFYaQu4rNNSvw4QxIIxm', heroId: '1234', dragonId: 1 } HeroKilledDragonEvent... {"eventNumber":"ID52bbzfgIFuAFYaQu4rNNSvw4QxIIxm","heroId":"1234","dragonId":1} Inside [HeroesGameSagas] Saga {"eventNumber":"ID52bbzfgIFuAFYaQu4rNNSvw4QxIIxm","heroId":"1234","dragonId":1} Async DropAncientItemCommand... [Nest] 2912 - 01/25/2023, 4:48:13 PM ERROR [EventStore] ProtocolError: missing required 'result' Async HeroFoundItemEvent... {"eventNumber":"ORw0k9ywhPNSmS9ZYI9gWWYO8RyRqQEl","hero":"1234","itemId":"0"}