You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having this issue in the new Next.js 15.1.0 project:
I tried to clear npm_modules and install again, test a few other examples and add "use client". The same issue.
My component:
import{Suspense}from'react'import{Canvas}from'@react-three/fiber'constTest=()=>{return(<Canvas><Suspense>
Test
</Suspense></Canvas>);};exportdefaultTest;
Ok, I found the answer here: vercel/next.js#66468@react-three/fiber has no support for React 19. You need to use @react-three/fiber@alpha when you're using Next.js 15. Problem patched with the alpha version.
I'm having this issue in the new Next.js
15.1.0
project:I tried to clear
npm_modules
and install again, test a few other examples and add"use client"
. The same issue.My component:
next.config.js
part of the package.json
The text was updated successfully, but these errors were encountered: