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

[Bug?]: @yarnpkg/parsers@3.0.0-rc.47 incompatible with {"npm":"8.3.1","node":"v16.14.0"} #5542

Closed
pdimova opened this issue Jun 29, 2023 · 10 comments
Labels
bug Something isn't working external bug This issue highlights a bug in another project stale Issues that didn't get attention waiting for feedback Will autoclose in a while unless more data are provided

Comments

@pdimova
Copy link

pdimova commented Jun 29, 2023

Describe the bug

Our project is using Lerna to run commands in the pipeline and it looks like after the last release we got the following error:

Screenshot 2023-06-29 at 14 31 55

Is this a bug or an intended outcome?

To reproduce

N/A

Environment

cimg/node:16.14.0-browsers
lerna@6.4.0

Additional context

No response

@pdimova pdimova added the bug Something isn't working label Jun 29, 2023
@arcanis
Copy link
Member

arcanis commented Jun 29, 2023

Is this a bug or an intended outcome?

Yes, we will remove Node 14/16 support in the next major, and this change has been published in RC (ie prerelease; not on stable channels yet). I don't know what depends on @yarnpkg/parsers in a prerelease version, but that seems something they should fix on their side.

@arcanis arcanis added external bug This issue highlights a bug in another project waiting for feedback Will autoclose in a while unless more data are provided labels Jun 29, 2023
@edmar-at-bit
Copy link

same issue our pipelines stopped working 3hrs ago
image

@arcanis
Copy link
Member

arcanis commented Jun 29, 2023

As a very temporary workaround I marked @yarnpkg/parsers@3.0.0-rc.47 as deprecated on the registry, to avoid it being selected by the ^3.0.0-rc.18 range used by nx, but please open an issue there to ask them to remove the caret from the range as soon as they can.

@edmar-at-bit
Copy link

thanks @arcanis

@VadimZhiltsov

This comment was marked as outdated.

@JoshuaWi

This comment was marked as outdated.

@arcanis
Copy link
Member

arcanis commented Jun 29, 2023

Weirdly, it seems the deprecated setting didn't work (in Yarn, we avoid using deprecated versions when others would work - it's strange npm doesn't do this, I kinda remember us adding this behaviour in part because we thought it did 🤔).

I manually published a 3.0.0-rc.47.1 that doesn't include the engines field, but upstream will still have to fix it before we make another automated release (nrwl/nx#17860).

@arcanis
Copy link
Member

arcanis commented Jul 3, 2023

Note that another RC got released this week-end (we're working on release the 4.0 soon, so we need to regularly release RCs), so the engines field is back again.

The Lerna / nx fix got released in their 16.5.0-beta.1 release, but since it's a beta it's not pulled by default. Hopefully nx will solve that soon, in the meantime I will publish a workaround again, hopefully for the last time.

@edmar-at-bit
Copy link

Note that another RC got released this week-end (we're working on release the 4.0 soon, so we need to regularly release RCs), so the engines field is back again.

The Lerna / nx fix got released in their 16.5.0-beta.1 release, but since it's a beta it's not pulled by default. Hopefully nx will solve that soon, in the meantime I will publish a workaround again, hopefully for the last time.

i think they have it on NX v16.4.1, had to migrate my NX from v15 to v16.4.1 to make my pipeline running again

@yarnbot
Copy link
Collaborator

yarnbot commented Aug 2, 2023

Hi! 👋

It seems like this issue as been marked as probably resolved, or missing important information blocking its progression. As a result, it'll be closed in a few days unless a maintainer explicitly vouches for it.

@yarnbot yarnbot added the stale Issues that didn't get attention label Aug 2, 2023
@yarnbot yarnbot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external bug This issue highlights a bug in another project stale Issues that didn't get attention waiting for feedback Will autoclose in a while unless more data are provided
Projects
None yet
Development

No branches or pull requests

6 participants