[openstreetmap/openstreetmap-website] Yarn install broken - INSTALL.md out of date? (Issue #3579)

Andy Allan notifications at github.com
Wed Jan 4 18:37:05 UTC 2023


> I think that newer versions of yarn have dropped support for `--ignore-engines` haven't they, which is the main reason our old approach of using a wrapper no longer worked and we had to switch to using nodesource.

No, I think that's a separate thing related to any potential upgrade to yarn2/3, see https://github.com/openstreetmap/openstreetmap-website/pull/3515 . All the discussion here assumes continuing use of yarn 1 - the latest yarn 1 release still has the `--ignore-engines` flag, but if you are running a new enough version of node (e.g. from nodesource packages) then you aren't affected by the aforementioned rails7 change that means the flag is no longer passed to yarn.

OSMF servers install yarn from https://dl.yarnpkg.com/debian, which is yarn 1.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3579#issuecomment-1371283934
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3579/1371283934 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230104/745a1700/attachment.htm>


More information about the rails-dev mailing list