otel-cf-workers icon indicating copy to clipboard operation
otel-cf-workers copied to clipboard

Setup with "@cloudflare/vitest-pool-workers"?

Open tsteckenborn opened this issue 5 months ago • 3 comments

Hey there,

has someone a working setup in conjunction with "@cloudflare/vitest-pool-workers"?

I'm currently running in different issues, such as:

Failed to load url @opentelemetry/sdk-trace-base (resolved id: @opentelemetry/sdk-trace-base)

and / or:

No such module "Users/.../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/os".
  imported from "Users/.../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/HostDetectorSync.js"

I'd assume for now that it's due to some configurations on my end. If somebody has a working sample together with the vitest pool workers it would save me some time and I'd be grateful :)

tsteckenborn avatar Sep 25 '24 07:09 tsteckenborn