-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I've done some code and played with this template for days, and it works fine. But once I restart my vs code, when I run npm run electron-dev
, it shows error
[0] Error occurred when executing command: yarn run dev
[0] Error: spawn cmd.exe ENOENT
[0] at ChildProcess._handle.onexit (node:internal/child_process:283:19)
[0] at onErrorNT (node:internal/child_process:476:16)
[0] at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[1] Error occurred when executing command: yarn run electron
[1] Error: spawn cmd.exe ENOENT
[1] at ChildProcess._handle.onexit (node:internal/child_process:283:19)
[1] at onErrorNT (node:internal/child_process:476:16)
[1] at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[1] yarn run electron exited with code -4058
[0] yarn run dev exited with code -4058
What is it? and how to fix it?
Metadata
Metadata
Assignees
Labels
No labels