build failed with instrumentation #77715
Labels
Instrumentation
Related to Next.js Instrumentation.
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/magicsong/me
To Reproduce
following https://docs.lmnr.ai/tracing/integrations/vercel-ai-sdk to add an instrumentation
my instrumentation.ts:
Current vs. Expected behavior
current error: TypeError: The worker script or module filename must be an absolute path or a relative path starting with './' or '../'. Received "[project]/node_modules/.pnpm/[email protected]/node_modules/thread-stream/index.js [instrumentation-edge] (ecmascript)/lib/worker.js"
the [instrumentation-edge] is wired, it was supposed to be nodejs
Provide environment information
Which area(s) are affected? (Select all that apply)
Instrumentation
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: