Have you read the Contributing Guidelines on issues?
Prerequisites
Description
When using the npm2yarn plugin, if you specify the shorthand command npm start, the plugin will display an error # couldn't auto-convert command when the Yarn tab is selected.


If you provide the full command npm run start then there are no errors displayed in the Yarn tab.


Reproducible demo
https://stackblitz.com/edit/github-7sb7wc?file=docs%2Fintro.md
Steps to reproduce
- Run the stackblitz repro
- Click the "Docusaurus Tutorial - 5min" button to be taken to the "./docs/intro.md"
- Overserve the npm2yarn code blocks.
Expected behavior
I expected the Yarn tab to properly display yarn start with no errors

Actual behavior
An error is displayed # couldn't auto-convert command

Your environment
- Public source code: see stackblitz
- Public site URL: see stackblitz
- Docusaurus version used: 2.3.1
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Node.js 18.13.0
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
When using the
npm2yarnplugin, if you specify the shorthand commandnpm start, the plugin will display an error# couldn't auto-convert commandwhen the Yarn tab is selected.If you provide the full command
npm run startthen there are no errors displayed in the Yarn tab.Reproducible demo
https://stackblitz.com/edit/github-7sb7wc?file=docs%2Fintro.md
Steps to reproduce
Expected behavior
I expected the Yarn tab to properly display
yarn startwith no errorsActual behavior
An error is displayed
# couldn't auto-convert commandYour environment
Self-service