You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run npm run demo
> [email protected] demo
> node src/bin/start.js http://127.0.0.1:9000 message
1: starting server using command "npm run start"
and when url "[ 'http://127.0.0.1:9000' ]" is responding with HTTP status code 200
running tests using command "npm run message"
> [email protected] start D:\a\start-server-and-test\start-server-and-test
> node test/server.js
sleeping for 5 seconds before starting
listening at port 9000
HEAD
> [email protected] message D:\a\start-server-and-test\start-server-and-test
> echo Hi there 👋
Hi there 👋
node:events:502
throw er; // Unhandled 'error' event
^
Error: spawn wmic.exe ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn wmic.exe',
path: 'wmic.exe',
spawnargs: [ 'PROCESS', 'GET', 'Name,ProcessId,ParentProcessId,Status' ]
}
Node.js v22.12.0
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
Relates to issue:
Issue
[email protected]
fails under GitHub Actionswindows-2025
with the errorstart-server-and-test
depends onps-tree
, which depends on the deprecated wmic.For Microsoft Windows Servers, wmic has been deprecated since 2016 and it is not installed by default on Windows Server 2025 (see Features we're no longer developing).
The GitHub Actions runner image windows-2025, currently in beta status, does not include WMIC. (See Windows Server 2025 is now in public preview).
Steps to reproduce
Run the following workflow in this repo in GitHub Actions
Logs
The text was updated successfully, but these errors were encountered: