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

Incompatible version of yarn #233

Closed
kylemh opened this issue Apr 6, 2020 · 8 comments · Fixed by fadeenk/mrKannahV3#342
Closed

Incompatible version of yarn #233

kylemh opened this issue Apr 6, 2020 · 8 comments · Fixed by fadeenk/mrKannahV3#342

Comments

@kylemh
Copy link

kylemh commented Apr 6, 2020

I was unable to install dependencies in Netlify because they use an older version of yarn.

I HIGHLY doubt there's anything wrong with 1.16.0, can you please remove the engine requirements for yarn?

I've added YARN_VERSION to my build envs to use a more modern version of yarn, but my upgrade was also broken last week by an engine required version of Node... then that was reverted.

Is there good reason to add these engine tags beyond ^10.x for Node?

@ruisaraiva19
Copy link
Collaborator

@kylemh I'm glad you were able to fix the Yarn issue on Netlify by adding the YARN_VERSION environment variable.
We require Node.js version 10 at least now because of Node.js version 8 reached the end of life on December 31, 2019.

@kylemh
Copy link
Author

kylemh commented Apr 6, 2020

Sure! I understand requiring Node 10.x, but why specify a specific version beyond that and why specify a specific version of yarn?

@axe312ger
Copy link

axe312ger commented Apr 16, 2020

This yarn engine requirement can break tests running in alpine linux node dockers as they might come with older yarn versions. I run into this lately as I use the following github action to run my tests: https://github.com/stefanoeb/jest-action (Which is using node 10 but with a not that new yarn version)

Is there any reason you require yarn at all for this module? Why does it not work with npm or older versions of yarn? It was working fine with an old yarn in my projects for several months :)

axe312ger added a commit to hashbite/gatsby-mdx-suite that referenced this issue Apr 16, 2020
axe312ger added a commit to hashbite/gatsby-mdx-suite that referenced this issue Apr 16, 2020
@kylemh
Copy link
Author

kylemh commented Apr 16, 2020

@ruisaraiva19 I feel like you should remove the requirement for a specific version of yarn. I doubt it affects local development.

@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 7.11.1-canary.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 7.11.2-canary.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 7.11.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@axe312ger
Copy link

Thank you! <3

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

Successfully merging a pull request may close this issue.

3 participants