Skip to content

Getting 'Failed to parse source map from ...' warnings on CRA 5.0.1 #39

@ucanfil

Description

@ucanfil

Thanks for the great library!

This is not a breaking issue for me but I had to post this as an issue since there is no discussions tab in the repo.
Using stdnum-js latest version with CRA v5.0.1 by importing import { stdnum } from 'stdnum'; and getting a bunch of warnings, for ex.:

WARNING in ./node_modules/stdnum/lib/esm/ro/cnp.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '.../node_modules/stdnum/src/ro/cnp.ts' file: Error: ENOENT: no such file or directory, open '/Users/buraktilek/projects/application-frontend/node_modules/stdnum/src/ro/cnp.ts'

Is this due to CRA or due to the library I wonder 🤔, much appreciated if you can provide some answer, cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions