Threejs Next conflict!
Unanswered
Segugio dell'Appennino posted this in #help-forum
Segugio dell'AppenninoOP
Hey everyone. I try to use threejs library in next typescript app router project.
this error popups everytime.
ChunkLoadError: Loading chunk app/layout failed.
(timeout: http://localhost:3001/_next/static/chunks/app/layout.js)
I already added transpilePackages: ['three'] to next.config.ts
I used Use dynamic Imports with SSR Disabled in all places
and I tired all solution.
I tried multiple times with multiple structure even simple examples.
if anyone could help me, it means alot to me.
this error popups everytime.
ChunkLoadError: Loading chunk app/layout failed.
(timeout: http://localhost:3001/_next/static/chunks/app/layout.js)
I already added transpilePackages: ['three'] to next.config.ts
I used Use dynamic Imports with SSR Disabled in all places
and I tired all solution.
I tried multiple times with multiple structure even simple examples.
if anyone could help me, it means alot to me.