Effect CommunityEC
Effect Community10mo ago
1 reply
tom

Issue with Runner in Effect Cluster Using SQL (pg)

I am trying to get a cluster with sql (pg) up and running. The shard manager starts without issues and creates the database tables. However when trying to run the runner it logs:
WARN (#24): Could not read messages from storage
PersistenceError: { "cause": TypeError: Cannot read properties of undefined (reading 'key') }

I am basically using the code from https://github.com/tim-smart/cluster-docker/blob/main/src/runner.ts

I am using @effect/cluster@0.29.4, @effect/platform-node@0.76.4 and @effect/sql-pg@0.34.1

should it already work? do i have to setup something in advance?
Was this page helpful?