Skip to content

no way to disable .map errorsΒ #14302

@ghost

Description

Reproduction

Create a react router project framework mode
Put some code in it
Go in browser and open dev tools turn on source mapping
Browser will start attempting to look for .map files

For some reason its trying to look up for hot reload injector's map file too

System Info

s

Used Package Manager

npm

Expected Behavior

s

Actual Behavior

Error: No route matches URL "/installHook.js.map"
at getInternalRouterError (file:///asd/node_modules/react-router/dist/development/chunk-QMGIS6GS.mjs:4514:5)
at Object.query (file:///asd/node_modules/react-router/dist/development/chunk-QMGIS6GS.mjs:2728:19)
at handleDocumentRequest (file:///asd/node_modules/react-router/dist/development/chunk-QMGIS6GS.mjs:11037:40)
at requestHandler (file:///asd/node_modules/react-router/dist/development/chunk-QMGIS6GS.mjs:10952:24)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at nodeHandler (/asd/node_modules/@react-router/dev/dist/vite.js:3335:30)
at /asd/node_modules/@react-router/dev/dist/vite.js:3341:17
No routes matched location "/installHook.js.map"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions