Effect CommunityEC
Effect Community6mo ago
7 replies
Ugo

Issue when running Example Workflow

I wanted to experiment with workflows using the example provided in the readme of the @effect/workflow package, but I get the following error:
[15:03:46.689] ERROR (#1):
  TypeError: yield* (intermediate value)(intermediate value) is not iterable
      at <anonymous> (/Users/ugobalducci/Documents/dev/markprompt/node_modules/.pnpm/@effect+sql-pg@0.45.0_@effect+experimental@0.54.0_@effect+platform@0.90.0_effect@3.17.5__effe_vvdbvvft6nk4yf4qezxelov47e/node_modules/@effect/sql-pg/src/PgClient.ts:269:21)


I tried to use the same dependencies as you did in the discord-bot repo but I still couldn't resolve the issue:
 "@effect/cluster": "npm:@effect/cluster@^0.46.0",
 "@effect/experimental": "0.54.0",
 "@effect/platform": "npm:@effect/platform@^0.90.0",
 "@effect/platform-node": "npm:@effect/platform-node@^0.94.0",
 "@effect/rpc": "npm:@effect/rpc@^0.68.2",
 "@effect/rpc-http": "npm:@effect/rpc-http@^0.52.4",
 "@effect/sql-pg": "npm:@effect/sql-pg@^0.45.0",
 "@effect/workflow": "npm:@effect/workflow@^0.8.1",
 "effect": "npm:effect@^3.17.1",


Did anybody encounter this issue before?
Was this page helpful?