Closed elrrrrrrr closed 1 week ago
This is not the appropriate place to do this. It either needs to happen in whatever you're using that imports arborist, or as a flag to npm itself. The code you linked is not looking at process.env
, but in the "current environment" as passed in from npm via its config.
Hi, we're looking to dynamically configure Node.js versions within a
single install process
by nodejs npm packageCurrently,
Arborist
read the read-onlyprocess.version
. Could we please merge the dynamic nodeVersion setting from npm-install-checks into Arborist?This would allow us to avoid extra subprocesses and align with the configurability of other properties like
os
andcpu
.🙏🏻🙏🏻🙏🏻
References