Replies: 2 comments 22 replies
-
As you can see this error from the browser extension, sounds like you have race condition somewhere, we need as minimum reproducible test repo, otherwise we really can't help you, can you provode your configuration? |
Beta Was this translation helpful? Give feedback.
-
Hi @alexander-akait I have also experienced this issue but the offending hash for me is the same as the |
Beta Was this translation helpful? Give feedback.
-
Bug report
What is the current behavior?
Sometimes without any reasons my project do not works properly in production mode. If I build up my project in development mode - everything is perfect, no any errors. But in production mode I have some weird problem.
Sometimes after build up I see an error like this in the Developer Console:
As you see, the d8498 is not defined. I have looked into the file 286_6660b.js and saw this:
The name of module just not in enclosed quotes, because
d8498
is not valid name for this situation. And if I fix this name adding enclosed quotes the error is gone. And it's not the most weird. I'v found the component of the modulecode_editor
and just renamed the directorycode-editor
adding_
in the beginning of name to make it_code-editor
. After it the error is gone too. Very weird.If the current behavior is a bug, please provide the steps to reproduce.
I don't know how to reproduce it, because it has periodic character. Sometimes I fix with renaming files/directories, sometimes deleting JSDoc tags. It always the same error regardless to whether use minimization in Webpack.
What is the expected behavior?
I expect a valid number name for all modules after building in production mode.
Other relevant information:
webpack version: 5.75
Node.js version: 16.13.2
Operating System: Linux Debian 10 Buster
Beta Was this translation helpful? Give feedback.
All reactions