Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In webpack 5, formatwebpackmessages. JS needs to modify the parameters

See original GitHub issue

Is your proposal related to a problem?


Describe the solution you’d like

I hope it works

(Describe your proposed solution here.)

Describe alternatives you’ve considered

// Cleans up webpack error messages. // It is a object // { message :…… } function formatMessage (messageObj) { let message = messageObj.message let lines = message.split(‘\n’);

Additional context


Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

acidcrash2005commented, Aug 6, 2021

It is still a problem! When I install yarn add react-dev-tools it is installed version 11.0.4. But the file still has no changed /node_modules/react-dev-utils/formatWebpackMessages.js.

Reinstall or remove node_modules didn’t help!

How it can be? It feels like an unchanged version was published on npm.

In my node_modules /node_modules/react-dev-utils/formatWebpackMessages.js: image image

In create-react-app/packages/react-dev-utils/formatWebpackMessages.js image image

Julian-B90commented, Jan 9, 2022

now with Version 5.0.0 the issue is fix for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

When I update react-dev-utils to the @next version. I can't find ...
which is thrown in react-dev-utils/formatWebpackMessages.js . Then I update react-dev-utils to then @next version which fix this. However in the ...
Read more >
Stats - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >
Top 5 react-scripts Code Examples - Snyk
Learn more about how to use react-scripts, based on react-scripts code examples created from the most popular ways it is used in public...
Read more > is not yet supported by the ... -
webpack 5 is in beta phase now. This means major changes and features are done. Major breaking changes have been added. Basic backward-compatibility...
Read more >
A mostly complete guide to webpack 5 (2020)
webpack is a module bundler and has a broader definition of what a ... In webpack.config.js we can change how webpack behaves by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found