Skip to content

Error: Cannot read properties of undefined (reading 'ReactCurrentDispatcher') #20

@theDanielJLewis

Description

@theDanielJLewis

This might be a React 19 / Next.js 15 thing, but I'm now getting the following error when I import react-audio-player:

Cannot read properties of undefined (reading 'ReactCurrentDispatcher')

This happens with and without Next.js 15's new --turbo mode in dev. It happens after the site has been built, too.

It happens even with a completely fresh Next.js installation with nothing but AudioPlayer in use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions