Closed andrewhood125 closed 10 months ago
Wait, but this also blocks newer Node versions that seem like they should work fine?
@Heath123 it works similar to how versions are set in the package.json. You can give a range >=16
, a list 16 || 18
etc.
I just checked out the main branch and it looks like the version of @azure/msal-node
specifies a engine requirement here:
That is what is currently stopping node v20 for being valid for example. The latest version of that package does not have that engine requirement. I'm not sure what all upgrading packages would entail but that should solve the issue of not being able to run the latest node versions.
This is helpful to avoid node versions that will fail. With loud npm install output, warnings can go unseen. With this change because of the engine requirements specified upstream by the minecraft-protocol package if someone attempts to npm install with an unsupported version of node the process will abort with an error.