Skip to content

ReferenceError: Can't find variable: BroadcastChannel #12936

Closed
@maiconcarraro

Description

@maiconcarraro

Environment

  npmPackages:
    @auth/prisma-adapter: ^2.9.0 => 2.9.0
    next: ^15.3.1 => 15.3.1
    next-auth: 5.0.0-beta.27 => 5.0.0-beta.27
    react: ^19.1.0 => 19.1.0

The issue was captured by Sentry, the device is:

Browser: Safari 15.3
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15
Device: Mac

Grouping
  system
    exception
      stack-trace
        frame
          module  chunks/node_modules/next-auth/react
          context-line  broadcastChannel.postMessage({
        frame
          module  chunks/node_modules/next-auth/react
          context-line  return new BroadcastChannel("next-auth");
      typeReferenceError

Reproduction URL

Using default

Describe the issue

Image

How to reproduce

Just call getSession on Safari 15.3 or lower

Expected behavior

Not throw

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalid reproductionThe issue did not have a detectable valid reproduction URLtriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy