[openstreetmap/openstreetmap-website] Add explicit requirement for Node.js 22.2+ (PR #6478)
Bryan Housel
notifications at github.com
Tue Oct 28 12:34:59 UTC 2025
bhousel left a comment (openstreetmap/openstreetmap-website#6478)
> It's a shame that we have to follow the minimum node version from a package that we only need static `.json` files from!
Yes - I agree you shouldn't need to do that! I commented in osm-community-index:
The engines field is really for specifying what version is required to build the project, but downstream projects sometimes treat it as the version required to install the project. You won't need to build anything if you are just installing this as a dependency and pulling .json files from it.
Even node treats this field as "advisory" unless you set the engineStrict flag, which is off by default.
https://docs.npmjs.com/cli/v11/configuring-npm/package-json#engines
Anyway, since we are using Bun now, I think I'll just remove the Node version from here. I didn't realize it was causing issues for installing the package.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6478#issuecomment-3456255154
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6478/c3456255154 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251028/e55410d1/attachment.htm>
More information about the rails-dev
mailing list