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
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?
The text was updated successfully, but these errors were encountered:
Can you try and reinstall the dependencies once, also check if yarn is installed on your system and can be accessed through cmd or console whatever it is. Also mention the name of OS, OS version, Node version and Yarn version you are using.
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 errorWhat is it? and how to fix it?
The text was updated successfully, but these errors were encountered: