Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'curl' is not recognized as an internal or external command #3934

Closed
richardlau opened this issue Oct 14, 2024 · 3 comments
Closed

'curl' is not recognized as an internal or external command #3934

richardlau opened this issue Oct 14, 2024 · 3 comments

Comments

@richardlau
Copy link
Member

Not sure if this is related to #3929, but looking at the two most recent node-daily-v20.x-staging and node-daily-v18.x-staging runs, Windows test jobs on x86 are failing with
e.g.
https://ci.nodejs.org/job/node-test-binary-windows-js-suites/30833/RUN_SUBSET=0,nodes=win2016-COMPILED_BY-vs2019-x86/console

13:10:15 C:\workspace\node-test-binary-windows-js-suites>curl -LO https://raw.githubusercontent.com/nodejs/build/main/jenkins/scripts/windows/ci-run.cmd 
13:10:15 'curl' is not recognized as an internal or external command,
13:10:15 operable program or batch file.
13:10:15 
13:10:15 C:\workspace\node-test-binary-windows-js-suites>call ci-run.cmd node-test-binary-windows-js-suites 
13:10:15 'ci-run.cmd' is not recognized as an internal or external command,
13:10:15 operable program or batch file.
13:10:15 

cc @StefanStojanovic

@StefanStojanovic
Copy link
Contributor

Thanks for reporting this @richardlau I'll take a look today/tomorrow.

@StefanStojanovic
Copy link
Contributor

Based on the build history, errors started after the update 2 days ago, but that update job didn't update anything, which is suspicious. Will continue the investigation later.

@StefanStojanovic
Copy link
Contributor

The issue was that Windows Server 2016 machines don't have curl.exe inside their C:\Windows\System32 directory. They get it from Git\mingw64\bin which was removed from the path environment variable similarly to the Git\usr\bin after the downgrade I did last week. The machines are now updated and I'll close this issue on Friday if everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants