Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack warns about not finding source map files #2346

Closed
danielberndt opened this issue Jul 1, 2022 · 7 comments · Fixed by #2433
Closed

Webpack warns about not finding source map files #2346

danielberndt opened this issue Jul 1, 2022 · 7 comments · Fixed by #2433
Assignees
Labels
Type: Bug 🐛 Oh no! A bug or unintentional behavior

Comments

@danielberndt
Copy link
Contributor

When updating to victory v36.5.1, webpack issues a lot of warnings (159 in my case) with these contents:

WARNING in ../node_modules/victory/es/index.js
Module Warning (from ../node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '[...]/node_modules/victory/es/index.js.map' file: Error: ENOENT: no such file or directory, open '[...]/node_modules/victory/es/index.js.map'

I'm using create react app 5.0.1 for my app. I.e. it's based on webpack 5.73.0

This was likely introduced with #2307

@danielberndt danielberndt added the Type: Bug 🐛 Oh no! A bug or unintentional behavior label Jul 1, 2022
@marlonschlosshauer
Copy link

I have the same issue on a fresh React (18.2) install with Victory v36.5.3. Downgrading didn't fix it either (tried v36.0). Also seems to brick React's hot-reloading.

@siulca
Copy link

siulca commented Jul 7, 2022

Same issue here on Victory v36.5.2

@miriyas
Copy link

miriyas commented Jul 13, 2022

Same issue here on Victory v36.5.3

@Chee7ah
Copy link

Chee7ah commented Jul 15, 2022

@gbspr
Copy link

gbspr commented Aug 18, 2022

Any update to this bug or workaround?

@scottrippey
Copy link
Member

I am currently investigating, and working on a fix. Thank you for reporting!

@scottrippey
Copy link
Member

Fixed in 36.6.3, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Oh no! A bug or unintentional behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants