Skip to content

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

@aryankarim

Description

@aryankarim

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions