-
Notifications
You must be signed in to change notification settings - Fork 143
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]: Yarn berry can't be used, please bump oclif version and change config.plugins
to [...config.plugins.values()]
#3004
Comments
Hey, thanks for opening this. I think I'll wait to implement this after oclif releases a new stable. |
Hi @danieltroger - I just merged that OCLIF PR, version thanks for all of your work and back and forth with Mike 😄 |
Hi @danieltroger, unfortunately we can't upgrade to oclif v3 yet because we haven't formally dropped node 16 support (oclif 3 does). We will eventually, but can't promise any dates. In the meantime my only recommendation would be not to use yarn berry, sorry. |
Hi @isaacroldan, using yarn berry significantly simplifies development for us so not using it isn't an alternative unfortunately. |
No timeline yet, still discussing it internally, but I'll keep this issue open and update it once we have more news |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. P.S. You can learn more about why we stale issues here. |
Waiting for shopify to drop node 16 support. Here's some activity so the issue doesn't get closed |
We are almost there: #2975 :) |
Niiice :) |
Just encountered this issue in the latest
Reverting to |
@isaacroldan Did you bump oclif but forget to make this change? oclif/core#839 (comment) |
I think this is an issue with Hydrogen, they are using an older version of cli-kit without the fixes for oclif 3. |
@rista404 how are you using the CLI? did you install it globally along with hydrogen? |
@isaacroldan all packages are installed locally in a Hydrogen project. Packages in question are Seems like having |
Right, the issue is that all those packages are actually inter-dependent, so you can't update just I'll bring this up with the Hydrogen team anyway |
@isaacroldan seems like this issue can be closed now? I just removed my patches and updated all shopify cli packages to the latest version and everything seems to work fine under yarn berry now 🥳🤩 |
Awesome, glad to hear that @danieltroger, closing the issue now then :) |
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
I can run
yarn shopify app dev
with yarn berry (yarn v3/v4)Actual behavior
Before you update
@oclif/core
:After you update
@oclif/core
to at least3.4.1-dev.0
:After you have done this change: oclif/core#839 (comment), related line in your code:
cli/packages/cli-kit/src/public/node/error-handler.ts
Line 172 in 0ff9966
It should work :)
Reproduction steps
Operating System
macOS 14.0 (23A344)
Shopify CLI version (check your project's
package.json
if you're not sure)@shopify/[email protected]
Shell
zsh
Node version (run
node -v
if you're not sure)v20.5.0
What language and version are you using in your application?
TypeScript 4.9.4
The text was updated successfully, but these errors were encountered: