Npm install in Windows environment take too much time


I write a travis configuration file in and want to build and publish to github release. Linux and MacOS environment works as expected, but windows build always build failed with timeout of npm i, so I debugged the output of npm i --verbose, I found that the request time for each npm package in Windows was too long conpared to Linux or MacOS.

Here are the log file of windows and linux.

For example, @material-ui/icons was take almost 15 times longer then the Linux environment.


Have you tried running the same commands on local instances for each OS?

In general, I’ve found that Windows tends to be much slower running the same set of commands than Linux/Mac machines.