When I start my server or build my project using CRA v5 I have these messages:
WARNING in ./node_modules/@lottiefiles/react-lottie-player/dist/lottie-react.esm.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/node_modules/@lottiefiles/react-lottie-player/src/Seeker.tsx'
file: Error: ENOENT: no such file or directory, open '/node_modules/@lottiefiles/react-lottie-player/src/Seeker.tsx'
In fact types are located in /node_modules/@lottiefiles/react-lottie-player/dist/src but it seems that the lottie-react.esm.js.map says:
Hello
When I start my server or build my project using CRA v5 I have these messages:
In fact types are located in
/node_modules/@lottiefiles/react-lottie-player/dist/src
but it seems that thelottie-react.esm.js.map
says:The source map file is pointing to
../src
instead of/src
.I don't really know if it's a config issue on my side or the package was badly built and published on npm.
Thanks a lot for your help