Skip to content

Conversation

mydea
Copy link
Member

@mydea mydea commented Aug 30, 2023

Fixes #8904

I don't know enough about remix to know if/when this can actually happen, but doesn't hurt to guard anyhow!

@mydea mydea merged commit 32befda into develop Aug 30, 2023
@mydea mydea deleted the fn/fix-remix-type branch August 30, 2023 11:52
@ted-marozzi
Copy link

Hey @mydea , is it possible that this change is causing this error?

- error Detected default export in '/Users/tedmarozzi/Code/mermaid-flow/app/api/auth/[...nextauth]/route.ts'. Export a named export for each HTTP method instead.

I am using "@sentry/nextjs": "^7.67.0-beta.0", on the app dir and this error is shown, when i downgrade to "@sentry/nextjs": "^7.66.0", it goes away.

This pr seems to be something to do with default exports.

@mydea
Copy link
Member Author

mydea commented Sep 2, 2023

Hey, this change only affects remix, so should not have any effect on nextjs. Could you open an issue with details of your setup & what error you are seeing?

@ted-marozzi
Copy link

Thanks mate, for future Githubber I created this issue: #8934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Remix] Cannot read properties of undefined (reading '__sentry_original__')
3 participants