Open jslott2sigma opened 1 week ago
For now, I'm going to try resolutions
in my package.json
to use an older version of spectral-core to see if that solves the problem.
@jslott2sigma are you able to move to a more recent minor release of Node.js v20? We also generally expect that a fairly recent minor release of each major release is being used. Current minor is .18
though, so >= .17
is quite strict. Thank you for opening https://github.com/stoplightio/spectral/issues/2747 btw 🙏, I think that's the proper fix
📜 Description
In Backstage 1.33.4, the
@stoplight/spectral-core
dependency version (1.18.0) has a very specific set of node versions it wants. From this PR in their repo, the aim to remove support for node 12/14 resulted in the following required node version:If we do not have those specific versions, a
yarn versions:bump
will fail.👍 Expected behavior
Yarn should succeed with the same allowable versions of node that Backstage requires
👎 Actual Behavior with Screenshots
If we do not have those specific versions, a
yarn versions:bump
will fail.👟 Reproduction steps
Run
yarn versions:bump
while having an earlier version of node installed (in my case node 20.14).📃 Provide the context for the Bug.
No response
🖥️ Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None