napalm
napalm copied to clipboard
Fixed lock-patcher not working for older node.js versions
While using the latest version of Napalm, I have discovered that when node.js version is below 14.13.0
, then it will fail running lock-patcher.mjs
due to module or fsPromise
support. This PR makes it so that when node.js version is below 14.13.0
it will use the latest node.js from the nixpkgs, otherwise it will use the one specified by the user.
Sorry, I forgot about this. Is this still needed?
I guess it might be useful for packaging older applications. It just caps minimum node.js version for running lock-patcher.mjs
.
Btw sorry for responding so late, I have missed the notification somehow.
Node 14 is the oldest supported Node version so I would say people really should update if they want to use Napalm.
Yeah, I agree, although I made this change because I was packaging Manyverse, which uses node.js version 12, so apparently this may be an issue for someone.