NodeJS bot fails to start on windows #8287
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-replied-to
Required for internal reporting. Do not delete.
customer-reported
Required for internal Azure reporting. Do not delete.
R14
Team: Runtime & Publishing
Type: Bug
Something isn't working
Milestone
Describe the bug
On Windows when we try to start a bot the bot fails to start with a SIGTERM error from npm install.
This occurs due to additional packages in package.json to facilitate CI/CD requirements causes npm install to take 90+ seconds.
Version
Version: 2.0.0
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser
OS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Bot can start even if npm install is slow
Screenshots
Additional context
This is occurring on windows PCs behind an enterprise firewall using an internal npm artifactory mirror.
This is caused by 120 second timeout on bot start that is hardcoded into composer.
On Mac our npm install is taking ~30 seconds on windows it is taking >=90 seconds.
We can start the bot in cmd prompt.
Running npm install in the repo manually does not solve the issue.
Access to public npm is blocked by corporate policy.
We can usually get the bot to start if we do not have the extra dependencies.
With above configuration 100% reproduction rate across multiple computers on VPN and corporate network.
The text was updated successfully, but these errors were encountered: