httptoolkit / httptoolkit-desktop

Electron wrapper to build and distribute HTTP Toolkit for the desktop
https://httptoolkit.com
GNU Affero General Public License v3.0
635 stars 85 forks source link

Why Global chrome Not opening ? #78

Open RDXSquad opened 1 week ago

RDXSquad commented 1 week ago

Browser cache updated Error handling request to /interceptors/existing-chrome/activate/8000: spawn wmic ENOENT ERROR: 500 [object Object] INFO: Reporting error: Error: Failed to activate interceptor existing-chrome: spawn wmic ENOENT [object Object] INFO: Previous server version was null Error handling request to /interceptors/existing-chrome/activate/8000: spawn wmic ENOENT Error: spawn wmic ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4058, code: 'ENOENT', syscall: 'spawn wmic', path: 'wmic', spawnargs: [ 'Process', 'Get', 'processid,commandline' ] } ERROR: 500 [object Object] INFO: Reporting error: Error: Failed to activate interceptor existing-chrome: spawn wmic ENOENT [object Object]

How to Solve this issuse

pimterry commented 6 days ago

That looks like you don't want wmic installed, which is quite unusual, I think that's standard on Windows. What OS version exactly are you using? Are you an administrator on the machine?

pimterry commented 6 days ago

Ah, it looks like WMIC is being removed in Windows 11 this year. As a workaround, can you try the steps here? https://techcommunity.microsoft.com/blog/windows-itpro-blog/how-to-install-wmic-feature-on-demand-on-windows-11/4189530

Let me know if that works. I will look into updating to support the new approaches required here soon.