- Initialize SvelteKit project with Yarn · Issue #1557 · sveltejs/kit
- Describe the bug I was not able to initialize with yarn, i.e. the command yarn create svelte@next foo is failing. To Reproduce yarn: 2.4.1 node: v16.1.0 Then run yarn create svelte@next foo. Expect...
This post has been translated by AI.
Post summarized by durumis AI
- Svelte Kit tutorials only provide instructions for npm, which can be confusing for yarn users.
- While yarn support was previously limited, PRs have added yarn-related documentation, making it usable now.
- However, the lack of FAQs on yarn usage can be challenging for beginners, which is a bit unfortunate.
Many yarn users will be surprised when they encounter Svelte Kit for the first time.
This is because the tutorials for getting started with Svelte Kit only mention npm.
Why doesn't Svelte list the package managers like other libraries do??
They might think that way.
Well, I did...
Upon searching, I found out that it didn't support yarn.
Following the linked PR, I saw that someone had submitted a PR for yarn-related documentation.
It works fine when I follow the instructions, but I'm still not happy that it's tucked away in the FAQs.
This is bound to confuse beginners.