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

Installing 3.5.2 brings references to 3.6.1 #10671

Closed
2 of 7 tasks
ilg-ul opened this issue Nov 12, 2024 · 1 comment
Closed
2 of 7 tasks

Installing 3.5.2 brings references to 3.6.1 #10671

ilg-ul opened this issue Nov 12, 2024 · 1 comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@ilg-ul
Copy link
Contributor

ilg-ul commented Nov 12, 2024

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

It might be related to #10668.

I have a project template that uses 3.5.2, that I successfully used to instantiate several sites.

Today I tried it again, and it fails, since npm install brings some packages from the 3.6.1 release.

Reproducible demo

No response

Steps to reproduce

Place the following file in an empty folder and issue npm install:

package.json

Expected behavior

Install 3.5.2 packages.

Actual behavior

It installs lots of 3.6.1 packages. See the resulting package-lock.json.

Your environment

  • Public source code:
  • Public site URL:
  • Docusaurus version used: 3.5.2
  • Environment name and version (e.g. Chrome 89, Node.js 16.4):
  • Operating system and version (e.g. Ubuntu 20.04.2 LTS): macOS 14.6.1

Self-service

  • I'd be willing to fix this bug myself.
@ilg-ul ilg-ul 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 Nov 12, 2024
@ilg-ul
Copy link
Contributor Author

ilg-ul commented Nov 12, 2024

Oops! It was a mistake in my package.json. :-(

@ilg-ul ilg-ul closed this as completed Nov 12, 2024
@slorber slorber removed the status: needs triage This issue has not been triaged by maintainers label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

No branches or pull requests

2 participants