Why 18.04? Will it break on anything newer?
Because you're answering to a thread that was initially created 2,5 years ago...
https://wiki.ubuntu.com/ReleasesAt that time, 18.04 was the most recent LTS release.
If you want to know if it works on a more recent release, just try it out and report back if you succeeded.
this it the output of installing it:
npm update
npm WARN deprecated request@2.69.0: request has been deprecated, see
https://github.com/request/request/issues/3142npm WARN deprecated har-validator@2.0.6: this library is no longer supported
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie
https://nodesecurity.io/advisories/130npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN addRemoteGit Error: Command failed: git config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:275:12)
npm WARN addRemoteGit at emitTwo (events.js:126:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:214:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:925:16)
npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npm WARN addRemoteGit git://github.com/zone117x/node-multi-hashing.git resetting remote /home/ubuntu/.npm/_git-remotes/git-github-com-zone117x-node-multi-hashing-git-98b61ec3 because of error: { Error: Command failed: git config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:275:12)
npm WARN addRemoteGit at emitTwo (events.js:126:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:214:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:925:16)
npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npm WARN addRemoteGit killed: false,
npm WARN addRemoteGit code: 1,
npm WARN addRemoteGit signal: null,
npm WARN addRemoteGit cmd: 'git config --get remote.origin.url' }
npm ERR! git clone --template=/home/ubuntu/.npm/_git-remotes/_templates --mirror git://github.com/zone117x/node-multi-hashing.git /home/ubuntu/.npm/_git-remotes/git-github-com-zone117x-node-multi-hashing-git-98b61ec3: Cloning into bare repository '/home/ubuntu/.npm/_git-remotes/git-github-com-zone117x-node-multi-hashing-git-98b61ec3'...
npm ERR! git clone --template=/home/ubuntu/.npm/_git-remotes/_templates --mirror git://github.com/zone117x/node-multi-hashing.git /home/ubuntu/.npm/_git-remotes/git-github-com-zone117x-node-multi-hashing-git-98b61ec3: fatal: unable to connect to github.com:
npm ERR! git clone --template=/home/ubuntu/.npm/_git-remotes/_templates --mirror git://github.com/zone117x/node-multi-hashing.git /home/ubuntu/.npm/_git-remotes/git-github-com-zone117x-node-multi-hashing-git-98b61ec3: github.com[0: 140.82.114.3]: errno=Connection timed out
npm ERR! Linux 5.4.0-1073-azure
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code 128
npm ERR! Command failed: git clone --template=/home/ubuntu/.npm/_git-remotes/_templates --mirror git://github.com/zone117x/node-multi-hashing.git /home/ubuntu/.npm/_git-remotes/git-github-com-zone117x-node-multi-hashing-git-98b61ec3
npm ERR! Cloning into bare repository '/home/ubuntu/.npm/_git-remotes/git-github-com-zone117x-node-multi-hashing-git-98b61ec3'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 140.82.114.3]: errno=Connection timed out
npm ERR!
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/nomp/npm-debug.log
I tried on Ubuntu 18.04 and ubuntu 20.04