Skip to content

Failed to parse Source Map #370

@tyddynonn

Description

@tyddynonn

React App created with latest create-react-app

Installed latest version of IGC-Parser with yarn add igc-parser

Consumed with const IGCParser = require(`igc-parser`);

I'm getting this webpack error when running an app with yarn start

Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from [path-to-app-redacted]\node_modules\igc-parser\index.ts' file: Error: ENOENT: no such file or directory, open '[path-to-app-redacted]\node_modules\igc-parser\index.ts'

There is no index.ts in the module folder, but index.js and index.js.map are both present
source-map-loader is 3.0.1 (latest)

Any suggestions?

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