Replies: 5 comments 3 replies
-
While better, this post still isn't actionable under this form - you do not say what's the problem you face. Compare with #3448 - I don't ask as much details, but you have to describe the specific issues you got, or there's nothing we can do to solve them. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer😊 And in general thanks for everything you are doing, I truly appreciate it. (I should have written that in my previous post, sorry.) My problem is that I want to minimize the amount of effort that goes into getting started with Yarn Berry. For example, I tried multiple times to try out Yarn Berry but I always gave up because it took too much energy to get started. Step-by-step:
At that point I already give up. These many hiccups break my trust; if I loose already so much time to get started, how much more time will I lose using Yarn Berry on a daily basis? I don't mean to be disrespectful in any mean, but this is a real problem that I believe should be addressed in a profound and fundamental way. On a high-level Yarn Berry seems very promising and it's saddening that it doesn't get the success it deserves because of lack of user friendliness. Thanks again for pushing the envelope, I really do appreciate it 😊. |
Beta Was this translation helpful? Give feedback.
-
Hi @brillout Regarding the Step-by-Step you mentioned above
This is just one way of starting with yarn berry. By default
I fully agree that making such decisions can be really confusing in the initial stages of learning new tooling, but I think the problem here is caused by the command
This will remove you problems with reading about what files should be ignored or not, however you would still have to read about Zero-installs since that is a conceptually new thing with yarn berry. Looks to me like almost all of your confusion is with the git related flow, and like you wrote "I'd rather have Yarn Berry give me a sensible default."
This is where it gets interesting for me. Everything that I've learned until now would have served me very well in a private project or run of the mill projects at a day job, but if we're talking about open source projects things are not so simple. Open source projects is one big area where yarn berry can be seen as a "not good" option because of the weird and new incompatibility issues (probably a poor choice of words) like the one you mentioned above - "I can't contribute because your PS: I'm not advocating for one approach over the other and not saying that one is better than the other, just that both have their own pros and cons and are really well suited to different use cases. Also, I may have chosen my words poorly when I said "if someone comes along and tries to get rid of it, then a lot of things are bound to break." but I think that's the reality I think for a long time I personally wouldn't give first preference yarn for an open source project but other than that yarn is very quickly becoming my go-to choice for new projects I would very much like to further this discussion and hear more people's thoughts on this, especially from @arcanis about all the open source projects related stuff. Because that is one area where adoption will face the most friction as majority of the tooling is so tightly built around (quote-unquote) I believe this was the reason for the birth of the One last thing I'd like to say is that I too excited for what the future looks like and if given the choice I would personally prefer yarn berry over the traditional approach. |
Beta Was this translation helpful? Give feedback.
-
Zero-install seems quite like a drastic move. Why not skipping zero-install from the getting started step and just let user opt-in if they need zero-install down the line? All-in-all it seems to me that user friendliness has been neglected a lot. For example, a succinct sumary of zero-install is an absolute must in the docs (that answers the question of "What is zero-install?" & "When should I use zero-install?" in the most succinct possible way and in a "explain-me-like-I-am-5" way). About:
That's a no-go from my perspective. Is that really necessary? Is there a way to get rid of this annoying step? I'd rather use a slower alternative like Yarn Classic than having this annoyance. In the end, if I write all this is because I still believe in the project's capability in becoming mainstream. My criticism is meant to be constructive :-). |
Beta Was this translation helpful? Give feedback.
-
I guess that zero installs is still an opt-in feature, or an "optional philosophy" as yarn's docs call it, but the fact that it depends on 1 line in the
I couldn't agree more, this introduces unnecessary friction. But the more I think about it, the more I can't wrap my head around why this would be needed in the first place (again, my thought may be due to my lack of deep knowledge about yarn's internals). This is how I imagine the flow would be
Any further I think this is just a case of bad docs, not a bad tool. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I really like Yarn Berry's relentless focus on pushing the edge of what's feasible with a package manager.
But I wish it would be simpler to use when I don't need advanced features.
Is there a way to enable a simpler get started for users that don't need advanced features? Is there a fundemental reason to not have a get started like the following?
(Sorry about my previous post, I meant in a constructive way.)
Beta Was this translation helpful? Give feedback.
All reactions