This is the command I executed (following the docs):
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash - &&sudo apt-get install -y nodejs
And this is the error message that appeared:
Your distribution, identified as "vera", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
One potential workaround that I can think of is installing a nodejs version meant for the previous Mint release, but I don't know how to do that.