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

[Bug]: incorrect npm command in docs #3401

Closed
CamelJohn opened this issue Sep 6, 2024 · 1 comment
Closed

[Bug]: incorrect npm command in docs #3401

CamelJohn opened this issue Sep 6, 2024 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@CamelJohn
Copy link

CamelJohn commented Sep 6, 2024

Version

Latest

Details

In the docs page, when looking at migration from vite to rsbuild seems like the commands for removing and vite dependencies and adding rsbuild dependencies are for yarn. You don't run add or remove with npm, as far as I know.

Reproduce link

Yuor docs

Reproduce Steps

Go to your docs page.

@CamelJohn CamelJohn added the 🐞 bug Something isn't working label Sep 6, 2024
@chenjiahan
Copy link
Member

npm CLI supports add and remove too, they are aliases.

https://docs.npmjs.com/cli/v10/commands/npm-install#synopsis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants