Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: _sentry_nextjs__WEBPACK_IMPORTED_MODULE_0__.replayIntegration is not a function #83497

Open
jahanzebraza opened this issue Jan 15, 2025 · 2 comments

Comments

@jahanzebraza
Copy link

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Follow the documentation to set up Sentry with Session Replay for Next.js.
  2. Run your project.
  3. An error will be thrown pointing to the following line of code inside sentry.client.config: integrations: [Sentry.replayIntegration()],

Expected Result

No error is thrown.

Actual Result

An error is returned stating that TypeError: sentry_nextjs__WEBPACK_IMPORTED_MODULE_0_.replayIntegration is not a function, even though I have ensured that I am using the latest version of the Sentry SDK for Next.js

Product Area

Replays

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Jan 15, 2025

Auto-routing to @getsentry/product-owners-replays for triage ⏲️

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 15, 2025
@billyvg
Copy link
Member

billyvg commented Jan 15, 2025

What version of the Sentry SDK are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants