thecodingmachine/nodejs-installer

Support for CYGWIN (Windows)

Opened this issue · 1 comments

PHP_WINDOWS_VERSION_BUILD is undefined under CYGWIN (Windows) and Environment.php would not detect this. Suggestion; typically the following would return:

echo PHP_OS . ' ' . (8 * PHP_INT_SIZE);

CYGWIN 32

This could be used to decipher the platform as "Windows 32-bit compatible".

Hey Stephen,

Thanks for the feedback. Could you describe to me what is the issue you are facing with Cygwin in Windows?
I just tested the plugin and it seems to me it installs Node and NPM correctly. I need to be able to reproduce the problem you are facing if I want to solve it.

Could you let me know:

  • What is the error you are having
  • Which version of Cygwin you use
  • If you have a local NodeJS install (and if yes, which version)
  • Also, could you paste your composer.json here?

Thanks a lot!