openapi-client-axios icon indicating copy to clipboard operation
openapi-client-axios copied to clipboard

failed to parse source map from /node_modules/openapi-client-axios/src/types/client.ts

Open belfz opened this issue 5 months ago • 0 comments

First, let me say big "thank you!" for this package, shout out to the authors and contributors! 👏

While using with create-react-app (react-scripts@^5.0.1) I'm getting warnings like this in the console:

[0] WARNING in ./node_modules/openapi-client-axios/types/client.js
[0] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
[0] Failed to parse source map from './node_modules/openapi-client-axios/src/types/client.ts' file: Error: ENOENT: no such file or directory, open './node_modules/openapi-client-axios/src/types/client.ts'

This doesn't break anything, but pollutes the output. I'm aware that CRA is not supported and actively developed anymore, but maybe this is a relatively tiny issue that could be easy to fix?

Thank you.

belfz avatar Aug 26 '24 12:08 belfz