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

Support Yarn 4+ #377

Closed
ColeWalker-Drizly opened this issue Nov 15, 2023 · 7 comments
Closed

Support Yarn 4+ #377

ColeWalker-Drizly opened this issue Nov 15, 2023 · 7 comments

Comments

@ColeWalker-Drizly
Copy link

Notice: A feature request describes a suggested improvement. If you have a debugging or troubleshooting question, please open a discussion on the Discussions Tab. Otherwise, remove this line and fill out the following sections.

Desired behavior:

Allow us to use Shakapacker with Yarn 4+.

Actual behavior:

Currently the process will exit with an error if using a Yarn version >3.

Setup environment:

  • Ruby version:
  • Rails version:
  • Shakapacker version:
@Judahmeek
Copy link
Contributor

What sort of error?

Is this related to #371?

@justin808
Copy link
Member

@G-Rath
Copy link
Contributor

G-Rath commented Nov 17, 2023

oh has #369 not actually been released? I'm happy if you want to release v7.2.0 @justin808 - we've had a few people say its working and package_json is still feature flagged for now so I don't see any reason to keep it as an rc.

@ColeWalker-Drizly
Copy link
Author

I am getting this error. I do not think it's related to #369 but I'll give the release a shot.

Shakapacker requires Yarn ">=1 <4" and you are using 4.0.1
This version of Shakapacker does not support Yarn 4.0.1. Please downgrade to a supported version of Yarn https://yarnpkg.com/lang/en/docs/install/
Exiting!

@G-Rath
Copy link
Contributor

G-Rath commented Nov 17, 2023

Yup thats is exactly what #369 fixes

@ahangarha
Copy link
Contributor

@ColeWalker-Drizly Please share the update with us.

@ColeWalker-Drizly
Copy link
Author

#369 Does in fact fix it, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants