Closed
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 clear
oryarn 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
Unable to determine the correct destination for "react-helmet-async@npm:@slorber/react-helmet-async@*" is trying to unpack in the same location as "react-helmet-async@npm:@slorber/[email protected]".
Reproducible demo
Steps to reproduce
- Visit docsuaurus.new and click the stackblitz demo.
- Check yarn install log output
Expected behavior
Docusaurus should install without warnings.
Actual behavior
Yarn warns:
warning Pattern ["react-helmet-async@npm:@slorber/react-helmet-async@*"] is trying to unpack in the same destination "/home/.cache/yarn/v6/npm-react-helmet-async-1.3.0-11fbc6094605cf60aa04a28c17e0aab894b4ecff-integrity/node_modules/react-helmet-async" as pattern ["react-helmet-async@npm:@slorber/[email protected]"]. This could result in non-deterministic behavior, skipping.
Your environment
- Public source code: https://stackblitz.com/github/facebook/docusaurus/tree/main/examples/classic-typescript
- Public site URL: https://stackblitz.com/github/facebook/docusaurus/tree/main/examples/classic-typescript
- Docusaurus version used: 3.7.0
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Node 18.20.3 Yarn 1.22.19
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
- I'd be willing to fix this bug myself.