Skip to content

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

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

Open
IAMSBLOL opened this issue Jun 8, 2021 · 5 comments
Open

Comments

@IAMSBLOL
Copy link

IAMSBLOL commented Jun 8, 2021

Is your proposal related to a problem?

微信图片_20210608111413

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

nothing

@baryman
Copy link

baryman commented Jun 9, 2021

@IAMSBLOL it was fixed here - #10121. Wait for publish

@IAMSBLOL
Copy link
Author

@baryman i make it works by this file
I use react-dev-utils when CRA releases webpack 5

@acidcrash2005
Copy link

acidcrash2005 commented 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-B90
Copy link

Same her. Please publish the last version.

@Julian-B90
Copy link

now with Version 5.0.0 the issue is fix for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants