Etcher fails to flash kali linux on an sd card (Help)

Hello, I wanted to download Kali Linux on my raspberrypi4, but everytime I flash it fails in seconds. I already tried previous versions of Balena Etcher, formatting my sd card, running the app as an administrator. I also tried other etchers, but they failed too. Moreover, everytime I use it, it unallocates all of the memory from sd card, so i have to format it again.

I pasted the console as I saw in some other help requests, hope someone can tell me what is wrong, thanks:

index.css:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
electron/js2c/renderer_init.js:13 (electron) The remote module is deprecated. Use GitHub - electron/remote: Bridge JavaScript objects from the main process to the renderer process in Electron. instead.
log @ electron/js2c/renderer_init.js:13
gui.js:354 _____ _ _
| | | | |
| |
| |
| | ___ _ __
| || / | ’ \ / _ \ '|
| |
| || (
| | | | / |
_
/ ____|| ||___||

Interested in joining the Etcher team?
Drop us a line at join+etcher@balena.io

Version = 1.14.3, Type = nsis
gui.js:37 Error: The specified module could not be found.
\?\C:\Users\PCNAME\AppData\Local\Programs\balena-etcher\resources\app\generated\modules\winusb-driver-generator\build\Release\Generator.node
at process.func [as dlopen] (electron/js2c/asar_bundle.js:5)
at Object.Module._extensions…node (internal/modules/cjs/loader.js:1138)
at Object.func [as .node] (electron/js2c/asar_bundle.js:5)
at Module.load (internal/modules/cjs/loader.js:935)
at Module._load (internal/modules/cjs/loader.js:776)
at Function.f._load (electron/js2c/asar_bundle.js:5)
at Function.o._load (electron/js2c/renderer_init.js:33)
at Module.require (internal/modules/cjs/loader.js:959)
at require (internal/modules/cjs/helpers.js:88)
at Object.defineProperty.value (gui.js:35)
at webpack_require (gui.js:37)
at Object. (gui.js:35)
at webpack_require (gui.js:37)
at gui.js:35
at async DriverlessDeviceAdapter$.scanLoop (gui.js:35)
(anonymous) @ gui.js:37
gui.js:37 Elevating command: C:\Users\PCNAME\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\PCNAME\AppData\Local\Programs\balena-etcher\resources\app\generated\child-writer.js
gui.js:37 Error: Error invoking remote method ‘disable-screensaver’: No handler registered for ‘disable-screensaver’
at EventEmitter.i.invoke (electron/js2c/renderer_init.js:73)
(anonymous) @ gui.js:37
gui.js:35 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
gui.js:37 Successfully connected to IPC server: etcher-server-7024, socket root C:\Users\PCNAME\AppData\Local\Temp
gui.js:37 Image: C:\Users\PCNAME\Desktop\kali-linux-2022.4-raspberry-pi-arm64.img.xz
gui.js:37 Devices: \.\PhysicalDrive2
gui.js:37 Auto blockmapping: true
gui.js:37 Decompress first: true
gui.js:37 Finish: 0
gui.js:37 Terminating IPC server
gui.js:37 Flash results Object
gui.js:37 Error: Error invoking remote method ‘enable-screensaver’: No handler registered for ‘enable-screensaver’
at EventEmitter.i.invoke (electron/js2c/renderer_init.js:73)

Thanks for your feedback, it is interesting in multiple ways.
The first error not finding module winusb-driver-generatorshould make the whole app quit.
Etcher cleans the drive before writing so you are right it is completely empty and you need to reformat it.
Then the write fails since the driver generator is needed for that.

You may try earlier or later (prerelease) versions while we look into this issue. I would recommend 1.7.9 or 1.18.1 from Tags · balena-io/etcher · GitHub