Skip to content

Getting TypeError: utils.getGlobalSingleton is not a function error #5295

Closed
@zeckdude

Description

@zeckdude

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

^7.2.0

Framework Version

^7.2.0

Link to Sentry event

No response

Steps to Reproduce

  1. Follow install steps at https://docs.sentry.io/platforms/javascript/guides/nextjs/#install
  2. Start app
  3. See following error in terminal
unhandledRejection: TypeError: utils.getGlobalSingleton is not a function

Expected Result

The app should start normally without an error

Actual Result

Shown in terminal and blocking app from starting:

unhandledRejection: TypeError: utils.getGlobalSingleton is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions