Skip to content

Raise node version for requirement of dependency - #297

Merged
coderbyheart merged 1 commit into
softwarecrafters:mainfrom
SoCraTesUK:main
Nov 20, 2026
Merged

coderbyheart merged 1 commit into
softwarecrafters:mainfrom
SoCraTesUK:main

Conversation

@am-cornelis

Copy link
Copy Markdown
Contributor

Hello, hopefully this is useful rather than noise: I saw an error when building the site locally via yarn so suspect it might be the same for others?

Error in question:

[2/4] Fetching packages...
error @mapbox/jsonlint-lines-primitives@2.0.3: The engine "node" is incompatible with this module. Expected version ">= 22". Got "20.20.2"
error Found incompatible module.

node 20 came from .nvmrc set to lts/iron, as far as I can see.

Got an error when building from scratch and it looks like mapbox needs
node 22 or above (mapbox/jsonlint-lines-primitives@2.0.3) whereas the
previous .nvrmc pointed to 20.

Decided to upgrade to the latest node while I was there.

Tested by running the tests and also the website locally and visiting
a few communities/events: as far as I can see, it all looks to be
working.
@coderbyheart
coderbyheart merged commit 6852356 into softwarecrafters:main Nov 20, 2026
1 check passed
@coderbyheart

Copy link
Copy Markdown
Collaborator

Thanks!

Lithium (v26) is a good choice, because it is current LTS.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants