I would like to request that we be able to install a version of Node for an architecture other than the one on which the Composer script is currently running. For example, I would like to be able to install the Linux version of Node even when running the Composer install on Mac OS.
This is useful in situations where the logical host on which the PHP app will be running is different than the platform on which the build process occurs. Think, for example, a dev environment where composer is executed on a physical MacOS host, but the PHP app is running inside of a Vagrant machine running Linux.
That could definitely be a good idea.
I don't have much time in the coming days to work on this, but I keep this issue open for future implementation. Any help with a PR is welcome :)
Hello,
I would like to request that we be able to install a version of Node for an architecture other than the one on which the Composer script is currently running. For example, I would like to be able to install the Linux version of Node even when running the Composer install on Mac OS.
This is useful in situations where the logical host on which the PHP app will be running is different than the platform on which the build process occurs. Think, for example, a dev environment where composer is executed on a physical MacOS host, but the PHP app is running inside of a Vagrant machine running Linux.