npm-to-yarn appears to fail when using 'npx' instead of 'npm' #7908
Labels
closed: working as intended
This issue is intended behavior, there's no need to take any action.
external
This issue is caused by an external dependency and not Docusaurus.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
The problem is actively in the official docs here https://docusaurus.io/docs/installation#updating-your-docusaurus-version
On the line that says
To check that the update occurred successfully, run:
The
npm
andyarn
tabs are visible and usable, but clicking between them doesn't change the command below it.This is likely an issue with the npm-to-yarn package being used, but perhaps this section could simply be re-worked to just avoid the issue entirely.
Reproducible demo
https://docusaurus.io/docs/installation#updating-your-docusaurus-version
Steps to reproduce
Expected behavior
Expected tabs between yarn and npm to work correctly.
Actual behavior
The codeblock underneath the tabs stays on 'npx'
Your environment
Self-service
The text was updated successfully, but these errors were encountered: