css-minimizer-webpack-plugin: regression: 4.2.0 causes "Call retries were exceeded" with a fresh, blank Docusaurus project

Bug report

Actual Behavior

Upgrading to 4.2.0 causes the Call retries were exceeded with a fresh docusaurus project when npm run build is ran.

4.1.0 does not exhibit this issue.

Expected Behavior

Css should minimize without issue.

How Do We Reproduce?

npx create-docusaurus@latest my-website classic
cd my-website
npm run build

Observe the minimizer crash:

jamil@mbair:~/tmp/my-website % npm run build

> my-website@0.0.0 build
> docusaurus build

[INFO] [en] Creating an optimized production build...

✖ Client
  Compiled with some errors in 10.52s

● Server █████████████████████████ building (65%) 1/1 entries 1944/1944 dependencies 625/625 modules 0 active




assets/css/styles.45f640f6.css from Css Minimizer plugin
Error: Call retries were exceeded
assets/css/styles.8ef29f8a.css from Css Minimizer plugin
Error: Call retries were exceeded
[ERROR] Client bundle compiled with errors therefore further build is impossible.

Please paste the results of npx webpack-cli info here, and mention other relevant information

webpack-cli not relevant here

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 14
  • Comments: 20 (7 by maintainers)

Commits related to this issue

Most upvoted comments

This was fixed by #199, but not released

I still get this issue with docusaurus, november 2024

WIP on this

We are seeing this issue as well on Azure Pipeline.

Going back to 4.1.0. Will provide an update soon.

"css-minimizer-webpack-plugin": "4.1.0", 

UPDATE:

Worked for us!

Can confirm this regression on another project currently using 4.1.0 - builds using 4.2.0 are failing with the same Call retries were exceeded error.