Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Windows 11 - Debugger not working #4101

Closed
kadirguloglu opened this issue Dec 28, 2021 · 3 comments
Closed

Windows 11 - Debugger not working #4101

kadirguloglu opened this issue Dec 28, 2021 · 3 comments
Labels
bug Something isn't working stale upstream

Comments

@kadirguloglu
Copy link

Summary

I am using windows 11. debug remote not working

Environment

Command failed: wmic os get Caption
'wmic' is not recognized as an internal or external command,
operable program or batch file.

Error: Command failed: wmic os get Caption
'wmic' is not recognized as an internal or external command,
operable program or batch file.

at b (C:\Users\teah_\AppData\Roaming\npm\node_modules\expo-cli\node_modules\envinfo\dist\envinfo.js:1:95241)
at Function.e.exports.sync (C:\Users\teah_\AppData\Roaming\npm\node_modules\expo-cli\node_modules\envinfo\dist\envinfo.js:1:97104)
at e.exports (C:\Users\teah_\AppData\Roaming\npm\node_modules\expo-cli\node_modules\envinfo\dist\envinfo.js:1:93458)
at e.exports (C:\Users\teah_\AppData\Roaming\npm\node_modules\expo-cli\node_modules\envinfo\dist\envinfo.js:1:92605)
at C:\Users\teah_\AppData\Roaming\npm\node_modules\expo-cli\node_modules\envinfo\dist\envinfo.js:1:91355
at async Promise.all (index 0)
at actionAsync (C:\Users\teah_\AppData\Roaming\npm\node_modules\expo-cli\src\commands\info\diagnosticsAsync.ts:41:16)
  • 🔍 Creating Diagnostics

Please specify your device/emulator/simulator platform, model and version

Android Emulator - Pixel_2_API_26:5554

Error output

info Launching Dev Tools...
C:\Users\teah_\Desktop\Project\BotMobil\node_modules\metro-hermes-compiler\src\emhermesc.js:81
throw ex;
^

Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn cmd',
path: 'cmd',
spawnargs: [ '/c', 'start', '""', '/b', 'http://localhost:19000/debugger-ui' ]
}

Reproducible demo or steps to reproduce from a blank project

info Launching Dev Tools...
C:\Users\teah_\Desktop\Project\BotMobil\node_modules\metro-hermes-compiler\src\emhermesc.js:81
throw ex;
^

Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn cmd',
path: 'cmd',
spawnargs: [ '/c', 'start', '""', '/b', 'http://localhost:19000/debugger-ui' ]
}

@kadirguloglu kadirguloglu added the bug Something isn't working label Dec 28, 2021
@kbrandwijk
Copy link
Contributor

kbrandwijk commented Jan 8, 2022

Related: tabrindle/envinfo#213
wmic is no longer available in recent win 10/11 builds.

This needs to be fixed upstream in envinfo, which has an open PR for it here, but no new release yet.

@github-actions
Copy link

This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

@github-actions github-actions bot added the stale label Apr 12, 2022
@github-actions
Copy link

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working stale upstream
Projects
None yet
Development

No branches or pull requests

2 participants