Skip to content
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

CSS Minimizer: Call retries were exceeded #8147

Closed
6 of 7 tasks
lewisjkl opened this issue Sep 29, 2022 · 4 comments
Closed
6 of 7 tasks

CSS Minimizer: Call retries were exceeded #8147

lewisjkl opened this issue Sep 29, 2022 · 4 comments
Labels
external This issue is caused by an external dependency and not Docusaurus.

Comments

@lewisjkl
Copy link

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

Truthfully, I am not positive if this issue exists due to something that needs to be changed in this repo or in https://github.com/webpack-contrib/css-minimizer-webpack-plugin.

It seems that ever since css-minimizer-webpack-plugin version 4.2.0 was released (about 2 hours ago), I have been getting the following error when running yarn build:

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

Reproduction:

> git clone https://github.com/facebook/docusaurus.git
> cd docusaurus/examples/classic
> yarn install
> yarn build

Reproducible demo

No response

Steps to reproduce

> git clone https://github.com/facebook/docusaurus.git
> cd docusaurus/examples/classic
> yarn install
> yarn build

Expected behavior

No error should be output when running yarn build

Actual behavior

Error was output.

Your environment

  • Public source code: Docusuarus github repo
  • Public site URL: Docusuarus github repo
  • Docusaurus version used: Latest
  • Environment name and version (e.g. Chrome 89, Node.js 16.4): (Node.js 16.17.0), (yarn 1.22.19)
  • Operating system and version (e.g. Ubuntu 20.04.2 LTS): MacOS 12.5.1, also reproduced in CI on Ubuntu

Self-service

  • I'd be willing to fix this bug myself.
@lewisjkl lewisjkl added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Sep 29, 2022
@Josh-Cena
Copy link
Collaborator

If it's upgrading their version between minor versions that breaks, it's very likely their bug. Let's wait for a few days to see what follows.

@Josh-Cena Josh-Cena added external This issue is caused by an external dependency and not Docusaurus. status: needs more information There is not enough information to take action on the issue. and removed status: needs triage This issue has not been triaged by maintainers labels Sep 29, 2022
@orsenthil
Copy link

I hit this problem too. What will be a workaround? I see the doc always recommends using the latest

 npx create-docusaurus@latest my-website classic

@ericpassmore
Copy link

Doesn't appear to be a Docusaurus issue, workaround is to downgrade css-minimizer-webpack-plugin. That worked for me.

npm install css-minimizer-webpack-plugin@4.1.0

I encountered the same error with

  • docusaurus@2.1.0 typescript
  • node@16.17.1
  • css-minimizer-webpack-plugin@4.2.0
  • running npm run build

@Josh-Cena
Copy link
Collaborator

Closing in favor of webpack-contrib/css-minimizer-webpack-plugin#198. Whatever the root cause is, seems to be an upstream issue. Thanks for reporting!

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2022
@Josh-Cena Josh-Cena removed status: needs more information There is not enough information to take action on the issue. bug An error in the Docusaurus core causing instability or issues with its execution labels Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external This issue is caused by an external dependency and not Docusaurus.
Projects
None yet
Development

No branches or pull requests

4 participants