react-mui-fileuploader
react-mui-fileuploader copied to clipboard
Error generating source map
After updating to the latest version I started getting the following errors when building the project:
WARNING in ./node_modules/react-mui-fileuploader/dist/index.esm.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'MY_PATH\ClientApp\node_modules\react-mui-fileuploader\src\FileAttachment.tsx' file: Error: ENOENT: no such file or directory, open 'MY_PATH\ClientApp\node_modules\react-mui-fileuploader\src\FileAttachment.tsx'
WARNING in ./node_modules/react-mui-fileuploader/dist/index.esm.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'MY_PATH\ClientApp\node_modules\react-mui-fileuploader\src\FileUpload.tsx' file: Error: ENOENT: no such file or directory, open 'MY_PATH\ClientApp\node_modules\react-mui-fileuploader\src\FileUpload.tsx'
Not sure what is the cause, but src isn't included in the release, so it likely would either need to be included or somehow the source map building should be excluded