-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondomain: dependenciesProposal to upgrade a dependency across major versionsProposal to upgrade a dependency across major versions
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand 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
npm install on a freshly created project produces warnings for Conflicting peer dependency.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN react@"^18.0.0" from the root project
npm WARN 31 more (@docsearch/react, @docusaurus/core, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^15.0.2 || ^16.0.0 || ^17.0.0" from [email protected]
npm WARN node_modules/@microlink/react-json-view/node_modules/flux
npm WARN flux@"~4.0.1" from @microlink/[email protected]
npm WARN node_modules/@microlink/react-json-view
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"^15.0.2 || ^16.0.0 || ^17.0.0" from [email protected]
npm WARN node_modules/@microlink/react-json-view/node_modules/flux
npm WARN flux@"~4.0.1" from @microlink/[email protected]
npm WARN node_modules/@microlink/react-json-view
Reproducible demo
No response
Steps to reproduce
- Create a new site
npx create-docusaurus@latest my-website classic - Run
npm install
cd my-website
npm installExpected behavior
No warnings produced. The site seems to work fine, but it can be confusing.
Actual behavior
Warnings produced.
Your environment
- Public source code: (newly created Docusaurus 3.0 project)
- Public site URL:
- Docusaurus version used: 3.0.0
- Environment name and version (e.g. Chrome 89, Node.js 16.4): -
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): 18.14.1
Self-service
- I'd be willing to fix this bug myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondomain: dependenciesProposal to upgrade a dependency across major versionsProposal to upgrade a dependency across major versions