Error with Missing Service: CryptoDataService Not Found

Hi. I'm trying to to learn how to work with Effect Services and Layers: https://gist.github.com/Industrial/d55060f1ff2a44765ba51f5954ac0fa1

The error I'm getting:
[22:47:18.755] ERROR (#0):
Error: Service not found: CryptoDataService (defined at module code (/home/tom/Code/skeleton-nodejs/applications/trader/src/index.ts:52:72))
    at runLoop (/home/tom/Code/skeleton-nodejs/applications/trader/node_modules/effect/dist/esm/internal/fiberRuntime.js:788:41)
    at evaluateEffect (/home/tom/Code/skeleton-nodejs/applications/trader/node_modules/effect/dist/esm/internal/fiberRuntime.js:488:48)
    at evaluateMessageWhileSuspended (/home/tom/Code/skeleton-nodejs/applications/trader/node_modules/effect/dist/esm/internal/fiberRuntime.js:472:28)
    at drainQueueOnCurrentThread (/home/tom/Code/skeleton-nodejs/applications/trader/node_modules/effect/dist/esm/internal/fiberRuntime.js:332:114)
    at <anonymous> (/home/tom/Code/skeleton-nodejs/applications/trader/node_modules/effect/dist/esm/internal/fiberRuntime.js:811:35)
    at starveInternal (/home/tom/Code/skeleton-nodejs/applications/trader/node_modules/effect/dist/esm/Scheduler.js:32:17)
Was this page helpful?