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

wrong yarn cmd in next.shadcn-svelte.com #1614

Closed
flomero opened this issue Jan 12, 2025 · 1 comment
Closed

wrong yarn cmd in next.shadcn-svelte.com #1614

flomero opened this issue Jan 12, 2025 · 1 comment
Labels
type: documentation A change or addition to the documentation

Comments

@flomero
Copy link

flomero commented Jan 12, 2025

Change Type

Correction

Proposed Changes

in the new Svelte 5 Docs the yarn cmd is yarn install ... instead of the correct yarn add ...

if you try to run it you get a warning by yarn and it won't install

example:

yarn install v1.22.15
error `install` has been replaced with `add` to add new dependencies. Run "yarn add @tanstack/table-core" instead.

the issue seems to be related with the usage of package-manager-detector/commands in lib/stores/package-manager.ts

@flomero flomero added the type: documentation A change or addition to the documentation label Jan 12, 2025
@ieedan
Copy link
Contributor

ieedan commented Jan 12, 2025

@AdrianGonz97 Is there a reason PMD uses install instead of add?

edit: This isn't PMDs fault it's mine! Should be using resolve add instead. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A change or addition to the documentation
Projects
None yet
Development

No branches or pull requests

3 participants