utsuboco / r3f-perf

Easily monitor your ThreeJS performances.
https://codesandbox.io/s/perlin-cubes-r3f-perf-wtp9t?file=/src/App.js
MIT License
624 stars 24 forks source link

font failed to load (NextJs 15 - React 19 - R3F 9) #59

Open aryankarim opened 1 day ago

aryankarim commented 1 day ago

Seeing this:

Code generation for chunk item errored
An error occurred while generating the chunk item [project]/node_modules/r3f-perf/dist/roboto.woff.mjs [app-client] (ecmascript)

Caused by:
- failed to convert rope into string
- invalid utf-8 sequence of 1 bytes from index 11

Debug info:
- An error occurred while generating the chunk item [project]/node_modules/r3f-perf/dist/roboto.woff.mjs [app-client] (ecmascript)
- Execution of EcmascriptChunkItemContent::module_factory failed
- Execution of *fileify_source_map failed
- Execution of <ParseResultSourceMap as GenerateSourceMap>::generate_source_map failed
- Execution of SourceMap::with_resolved_sources failed
- failed to convert rope into string
- invalid utf-8 sequence of 1 bytes from index 11

Using the latest NextJs 15 with:

    "@react-three/postprocessing": "^2.16.3",
    "@react-three/drei": "^9.115.0",
    "@react-three/fiber": "^9.0.0-alpha.8",
    "next": "15.0.2",
    "react": "19.0.0-rc-02c0e824-20241028",
    "react-dom": "19.0.0-rc-02c0e824-20241028",
    "three": "^0.170.0",
    "r3f-perf": "^7.2.2"