After this fix it works, however I didn't check on other environments so it's best to verify on different windows versions if adding quotes changes anything :) Please mind that the quotes need to be added in multiple files (ex. setup-packages, setup-logrotate)
Steps to Reproduce
npm run serup
Environment
Running on: 5/4/2023, pm2-installer 3.4.3 with node v12.22.12 and npm 6.14.16 on win32-6.1.7601.
Description
There seems to be an error thrown by the console while running a setup script on Windows 7 Embedded.
Solution
Apparently this line is causing an error:
$pm2_logrotate_package = "$(node src/tools/dependencies/echo.js @jessety/pm2-logrotate)"
which can be fixed by surrounding a package name with ':
$pm2_logrotate_package = "$(node src/tools/dependencies/echo.js '@jessety/pm2-logrotate')"
After this fix it works, however I didn't check on other environments so it's best to verify on different windows versions if adding quotes changes anything :) Please mind that the quotes need to be added in multiple files (ex. setup-packages, setup-logrotate)
Steps to Reproduce
npm run serup
Environment
Running on: 5/4/2023, pm2-installer 3.4.3 with node v12.22.12 and npm 6.14.16 on win32-6.1.7601.