Exported identifiers must be unique #1366
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
needs: complete repro 🖥️
Issue need to have complete repro provided
platform: next.js 🛠️
Issue related to next.js
platform: ssr 🛠️
Issue related to SSR
Environment
Description
I believe it's because in
@sentry/nextjs
, after usingexport * from '@sentry/node'
, they also export theinit
function, which is causing this error.https://github.com/getsentry/sentry-javascript/blob/develop/packages/nextjs/src/server/index.ts#L15
Reproducible Demo
In my case, simply reexporting
@sentry/nextjs
results in this error.https://codesandbox.io/p/sandbox/tender-sea-gqsymt
The text was updated successfully, but these errors were encountered: