[openstreetmap/openstreetmap-website] Yarn install broken - INSTALL.md out of date? (Issue #3579)
Richard Fairhurst
notifications at github.com
Thu Dec 22 12:00:24 UTC 2022
I had the same issue (also Ubuntu 20.04). I successfully installed Yarn as per https://linuxize.com/post/how-to-install-yarn-on-ubuntu-20-04/ , but I then encountered a separate issue with one of the node modules:
error osm-community-index at 5.4.0: The engine "node" is incompatible with this module. Expected version ">=16.14.0". Got "14.21.1"
So I installed a newer node with:
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
which worked, but (more relevantly to this issue) also included post-install instructions for installing yarn. So possibly the trick here is "install node LTS as per above, then follow its suggestions to install yarn".
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3579#issuecomment-1362756221
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3579/1362756221 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221222/494c11b7/attachment.htm>
More information about the rails-dev
mailing list