<p></p>
<blockquote>
<p dir="auto">Works fine for me - must be a docker issue.</p>
</blockquote>
<p dir="auto">No, it's not a Docker issue. I mentioned this previously in the final paragraph <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3579#issuecomment-1371453162" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3579/hovercard">of this comment</a> - the version of eslint that we use requires nodejs 12+, but Ubuntu 20.04 ships with node 10. We tend not to notice since most developers (including me) don't run node10 on our laptops. Github CI uses their own "flavour" of Ubuntu, with a newer nodejs version, so it's not picked up in the <a href="https://github.com/openstreetmap/openstreetmap-website/blob/87657108f6bd2a4afa41760dff1947a8349b28f8/.github/workflows/lint.yml#L38">eslint CI task</a>. If CI was running actual Ubuntu, with nodejs10, then it would have picked up this problem months ago and the eslint test would fail with the same error.</p>
<p dir="auto">The preferred fix is the same as I wrote in that comment - we need to upgrade our Docker, Vagrant, CI and installation instructions all to Ubuntu 22.04.</p>
<p dir="auto">If we wanted to prevent this from happening again, we need to rethink our CI system, so that it runs eslint (and rubocop, and other developer tools) on the actual version of Ubuntu that developers have installed, rather than the github-flavoured-ubuntu used in Github Actions. One way to do this would be to add eslint to the <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/.github/workflows/docker.yml">docker CI</a>, but I'd prefer to avoid making that even slower to run. I don't intend to work on this aspect though, since upgrading everything to 22.04 is needed anyway.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3946#issuecomment-1445309595">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIL4KZNDLLEOBV6PTTWZMP2BANCNFSM6AAAAAAVH6UA34">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIPCAYPKHZUG4RFA4DWZMP2BA5CNFSM6AAAAAAVH6UA36WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSWEWWJW.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/3946/1445309595</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3946#issuecomment-1445309595",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3946#issuecomment-1445309595",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>