- Electron-Builder Version: 22.11.7
- Electron Version: 13.1.6
- Electron Type (current, beta, nightly): current
While running installing-app-deps or any other commands, following error occurs:
• electron-builder version=22.11.7
• loaded configuration file=package.json ("build" field)
• installing production dependencies platform=win32 arch=x64 appDir=D:\dev\cryptoElectron\src
• spawning command=C:\Users\Losse\AppData\Local\Temp\xfs-8e15e263\node yarn install --production cwd=D:\dev\cryptoElectron\src
• exited command=node code=-4058 pid=undefined
⨯ spawn C:\Users\Losse\AppData\Local\Temp\xfs-8e15e263\node ENOENT failedTask=installAppDeps stackTrace=Error: spawn C:\Users\Losse\AppData\Local\Temp\xfs-8e15e263\node ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
at onErrorNT (internal/child_process.js:467:16)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
This may relate to the spawn method, the closest code I found is:
|
return spawn(execPath, execArgs, { |
While running installing-app-deps or any other commands, following error occurs:
This may relate to the
spawnmethod, the closest code I found is:electron-builder/packages/app-builder-lib/src/util/yarn.ts
Line 108 in 5b4305e