Issue with `@effect/opentelemetry`: TypeError when importing `NodeSdk`

I have a very weird issue with "@effect/opentelemetry" that I struggle to debug.
When I try to use it, even doing some dummy code like:
import { NodeSdk } from "@effect/opentelemetry";
const foo = NodeSk;

I get this error:
TypeError: Cannot read properties of undefined (reading 'empty')
    at Object.<anonymous> (/gadget/app/node_modules/@effect/opentelemetry/src/Resource.ts:116:22)

I used to have a working config in another app, but here I truly have no idea what's going on. Could it be something with some packages versions issues ?

(I doubled check that I had all the dependencies installed)
Was this page helpful?