Thursday, 8 October 2020

React build taking too long to complete with message "95% emitting CopyPlugin" - How to debug npm build?

Build taking too long to complete in my local system. It showing the message "95% emitting CopyPlugin" when I run "npm start" and waits for 7 or 8 hours to complete, even same thing happens when I make code changes if code change is one line or a class name change it again takes a long time to complete.

{
    "start": "npm run dev",
    "dev": "webpack-dev-server --progress --watch --env.buildFlavor development --mode development",
}

it working fine with my previous system with almost the same configuration as the new machine.

webpack: ^4.41.2"

OS: windows 10

Is there any solution to this problem?

What is the best way to debug and find out what is causing this issue?



from React build taking too long to complete with message "95% emitting CopyPlugin" - How to debug npm build?

No comments:

Post a Comment