-
Notifications
You must be signed in to change notification settings - Fork 24
Buffalo new does not support Yarn 2+ (berry) #95
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Commenting to remove stale, PR open. |
Hi, sorry for the delay. I am working on this since yesterday. Actually, I was not aware of the new version and I am on some research about it since I want to prevent user confusion if it could introduce some issue. Reviewing the PR, it seems like it will just affect newly generated apps but please let me double-check about it. Meanwhile, it seems like the option Also, the berry get back the option Anyway, I would like to add +1 to support berry since it seems like it resolved many issues in the classic version. Thanks! [1]
[2] yarnpkg/yarn#1190 |
Some findings:
$ yarnpkg install --silent |tee |wc -l
2640
$ rm -rf .yarn/cache .yarn/install-state.gz .yarn/unplugged/ .pnp.* yarn.lock
$ cat >> .yarnrc.yml <<EOF
> logFilters:
> - code: YN0013
> level: discard
> EOF
$ yarnpkg install --silent |tee |wc -l
10
$ IMO, we need to handle the verbose output properly if we introduce this change. |
PR was merged into the |
Description
Running
buffalo new
on a system with Yarn version 2+ (berry) fails with:Solution
Yarn 1.x (classic) may support the
--no-progress
option but it is not present in the docs. There is a--silent
option that also works with Yarn 2+.I suggest the option is changed, and also Buffalo switches the default to install
yarn@berry
whenyarnpkg
is not found. I will make a PR for this.Info
The text was updated successfully, but these errors were encountered: