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 2+ in lambda build with Amplify CLI #9726

Open
2 tasks
rokoucha opened this issue Feb 9, 2022 · 4 comments
Open
2 tasks

Support Yarn 2+ in lambda build with Amplify CLI #9726

rokoucha opened this issue Feb 9, 2022 · 4 comments
Labels
feature-request Request a new feature functions Issues tied to the functions category p4

Comments

@rokoucha
Copy link

rokoucha commented Feb 9, 2022

Is this feature request related to a new or existing Amplify category?

function

Is this related to another service?

No response

Describe the feature you'd like to request

Amplify CLI currently does not support Yarn 2+ in lambda build (background is written in #7883 (comment)) but an issue that adds support Yarn 2/3 is not created yet.

Describe the solution you'd like

Support Yarn 2+ in lambda build with Amplify CLI.

Describe alternatives you've considered

PnP support is not a must. Yarn 2+ have more useful functions besides that and is fast.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change
@ammarkarachi ammarkarachi added feature-request Request a new feature functions Issues tied to the functions category labels Feb 9, 2022
@simlevesque
Copy link

In the meantime, you can rename your .yarnrc.yml into anything else, push, then revert. If you don't have to push functions often this is bearable. Someone could script this easily.

@NaomiGilbertE22
Copy link

In the meantime, you can rename your .yarnrc.yml into anything else, push, then revert. If you don't have to push functions often this is bearable. Someone could script this easily.

Thank you, I was racking my brain as to how am I supposed to un-migrate my whole project for a single deployment. Worked like a charm.

@neuquen
Copy link

neuquen commented Sep 11, 2023

In the meantime, you can rename your .yarnrc.yml into anything else, push, then revert. If you don't have to push functions often this is bearable. Someone could script this easily.

@simlevesque Could you explain what is happening with yarn by doing this?

@rafaelfaria
Copy link

Any progress on this? has been a couple years now. I am having issues with the latest yarn now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature functions Issues tied to the functions category p4
Projects
None yet
Development

No branches or pull requests

7 participants