react-mui-fileuploader icon indicating copy to clipboard operation
react-mui-fileuploader copied to clipboard

Error generating source map

Open mikocot opened this issue 2 years ago • 0 comments

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

mikocot avatar Mar 26 '23 18:03 mikocot