nodejs today because I wanted to try
After the obligatory
sudo apt-get update && sudo apt-get upgrade:
$ sudo apt-get install nodejs npm
Following a huge download of "stuff", which concluded successfully, I tried installing my objective app:
$ npm install -g tldr
This was immediately followed by a strange warning:
npm WARN npm npm does not support Node.js v10.23.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
Taken literally, the WARNING is nonsense as it says: 1) your version of
nodejs is not supported & should be upgraded, and 2) supported releases are only older versions!
I know nothing about
nodejs. Is this a problem with RPi's repo - or is this a reflection of the state of these apps? Is there a known resolution for this?