You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by sebb <se...@gmail.com> on 2022/04/26 16:05:55 UTC

node.js does not (yet) support Ubuntu 22.04

Just discovered that node.js does not yet support Ubuntu 22.04, so no
point looking at that version for now:

https://github.com/nodesource/distributions/

Re: node.js does not (yet) support Ubuntu 22.04

Posted by Sam Ruby <ru...@intertwingly.net>.
On Tue, Apr 26, 2022 at 12:06 PM sebb <se...@gmail.com> wrote:
>
> Just discovered that node.js does not yet support Ubuntu 22.04, so no
> point looking at that version for now:
>
> https://github.com/nodesource/distributions/

n and nvm can be used to install other versions.  Example:

FROM ubuntu:22.04
ENV DEBIAN_FRONTEND="noninteractive".
RUN apt-get update
RUN apt-get install -y nodejs npm curl
RUN npm install -g n
RUN which node && node -v
RUN n 18
RUN which node && node -v
CMD ["/bin/bash"]

- Sam Ruby