I've cloned the repo, deleted .git folder and installed dependencies running yarn (I did a yarn cache clean before).
Launching yarn compile works fine (no error). But, when I launch yarn dev, I get:
yarn run v1.12.1
$ electron-webpack dev
? Renderer -------------------
CreateProcess failed with error 193 (no message available)
? ----------------------------
Error: Renderer WDS exited with code 0
at ChildProcessManager.child.on.code (D:\my-app\node_modules\electron-webpack\src\dev\
ChildProcessManager.ts:62:32)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Socket.stream.socket.on (internal/child_process.js:381:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close (net.js:606:12)
From previous event:
at D:\my-app\node_modules\graceful-fs\polyfills.js:285:20
at FSReqWrap.oncomplete (fs.js:155:5)
From previous event:
at startRenderer (D:\my-app\node_modules\electron-webpack\out\dev\WebpackDevServerMana
ger.js:149:17)
at D:\my-app\node_modules\electron-webpack\src\dev\dev-runner.ts:43:7
at Generator.next (<anonymous>)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
From previous event:
at DevRunner.start (D:\my-app\node_modules\electron-webpack\src\dev\dev-runner.ts:32:1
4)
at D:\my-app\node_modules\electron-webpack\src\dev\dev-runner.ts:142:19
at Generator.next (<anonymous>)
From previous event:
at main (D:\my-app\node_modules\electron-webpack\out\dev\dev-runner.js:132:18)
at Object.<anonymous> (D:\my-app\node_modules\electron-webpack\src\dev\dev-runner.ts:1
45:1)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at runInDevMode (D:\my-app\node_modules\electron-webpack\src\cli.ts:35:3)
at Object._yargs.default.command.command.command.command.command.argv [as handler] (D:\informatique\programmation\js\electron\english\english-app-
school2\node_modules\electron-webpack\src\cli.ts:13:71)
at Object.runCommand (D:\my-app\node_modules\yargs\lib\command.js:238:44)
at Object.parseArgs [as _parseArgs] (D:\my-app\node_modules\yargs\yargs.js:1059:30)
at Object.get [as argv] (D:\my-app\node_modules\yargs\yargs.js:1000:21)
at Object.<anonymous> (D:\my-app\node_modules\electron-webpack\src\cli.ts:8:1)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
I've searched but couldn't find any clue/hint/solution. I can't figure out where the problem comes from. Can anyone help?
Hello,
My config is:
I've cloned the repo, deleted .git folder and installed dependencies running
yarn
(I did ayarn cache clean
before).Launching
yarn compile
works fine (no error). But, when I launchyarn dev
, I get:I've searched but couldn't find any clue/hint/solution. I can't figure out where the problem comes from. Can anyone help?