Closed dkryptr closed 1 year ago
got the same thing
@JonasBa Bringing this to your attention.
@dkryptr this seems to be yet another breaking change in esm behavior which fails at recognizing .node files (cjs does and everything work fine)
I will likely fully remove esm support as it has been only a headache so far, as a workaround, can you tell me if importing the CJS build via import {ProfilingIntegration} from "@sentry/profiling-node/lib/index.js"
works?
Just to get back to this, we removed esm support due of this issue. If you upgrade to latest version it should no longer break
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
SDK Version
1.0.4
Link to Sentry event
No response
What environment is your node script running in?
Next.js
How is your code deployed and bundled?
Deploying using Vercel. Next.js as the bundler.
Steps to Reproduce
sentry.server.config.js
fileI haven't tested these steps to reproduce, but I assume the same issue will occur.
Expected Result
Next.js runs local development environment
Actual Result
Next.js local dev run errors out.