We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
--turbo
It happens even with a completely fresh Next.js installation with nothing but AudioPlayer in use.
AudioPlayer
The text was updated successfully, but these errors were encountered:
@samhirtarif Can be fixed by react-audio-player by correctly not-bundling react in the vite.config.ts line 20: external: ['react', 'react-dom'],
external: ['react', 'react-dom'],
to
external: ["react", /^react\/.*/, "react-dom", /react-dom\/.*/],
Sorry, something went wrong.
No branches or pull requests
This might be a React 19 / Next.js 15 thing, but I'm now getting the following error when I import react-audio-player:
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.The text was updated successfully, but these errors were encountered: