TypeError: _sentry_nextjs__WEBPACK_IMPORTED_MODULE_0__.replayIntegration is not a function
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.