Answer a question

I struggle to solve this error which is appearing in the chrome console . seems a webpack error .. but where to solve it

[HMR] Waiting for update signal from WDS...

Answers

  1. Go to node_modules -> webpack -> hot folder.

  2. Under that you'll find a log.js file open that edit the section (comment the log under if(level === "info") )

    module.exports = function(level, msg){
    > comment start here
    
        if (shouldLog(level)) {
            if (level === "info") {
                console.log(msg);
            } else if (level === "warning") {
                console.warn(msg);
            } else if (level === "error") {
                console.error(msg);
            }
    
        }
    > comment end here
    };
    

For more information: react-scripts 3.3.0 / 3.3.1 -> [HMR] Waiting for update signal from WDS... in console (Edge not working still) #8153

Logo

React社区为您提供最前沿的新闻资讯和知识内容

更多推荐