Effect Playground Error with EntityReaper Module in @effect/cluster Package

Heads up: looks like the effect playground currently has an error:

node_modules/.pnpm/@effect+cluster@0.29.0_@effect+platform@0.80.0_@effect+rpc@0.55.0_@effect+sql@0.33.0_effect@3.14.0/node_modules/@effect/cluster/dist/dts/Sharding.d.ts(16,10): error TS2305: Module '"./internal/entityReaper.js"' has no exported member 'EntityReaper'.


For anyone else running into this, you can work around it by avoiding the platform packages...so something like this:

// import { NodeRuntime } from "@effect/platform-node"
import { Effect } from "effect"
// import { DevToolsLive } from "./DevTools"

const program = Effect.gen(function*() {
  yield* Effect.log("Welcome to the Effect Playground!")
}).pipe(Effect.withSpan("program", {
  attributes: { source: "Playground" }
}))

program.pipe(
  // Effect.provide(DevToolsLive),
  // NodeRuntime.runMain,
  Effect.runPromise
)     
Was this page helpful?