Skip to content

Sourcemap warnings on latest create react app #7

@tom-churchill

Description

@tom-churchill

I recently updated to the latest version of Create React App and I now get warnings when running my code.

WARNING in ./node_modules/vector2d/src/AbstractVector.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/<redacted>/node_modules/vector2d/src/AbstractVector.ts' file: Error: ENOENT: no such file or directory, open '/<redacted>/node_modules/vector2d/src/AbstractVector.ts'

It sounds like there might be a problem with how the source maps are being generated. I imagine some newer version of something or other has got stricter which is what is causing the warnings now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions