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?
React App created with latest
create-react-appInstalled latest version of IGC-Parser with
yarn add igc-parserConsumed with
const IGCParser = require(`igc-parser`);I'm getting this webpack error when running an app with
yarn startModule 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?