nRF Connect for Desktop 5.3.0: App installation fails with EISDIR error on Linux

When attempting to install a downloadable app in nRF Connect for Desktop 5.3.0 on Linux, the installation fails with an EISDIR: illegal operation on a directory error. The same operation works correctly in version 5.2.1.

Error occurred in handler for 'apps:install-downloadable-app': Error: EISDIR: illegal operation on a directory, copyfile '/tmp/fOmDuU/pc-nrfconnect-ble' -> '/home/magik/.nrfconnect-apps/node_modules/pc-nrfconnect-ble'
at async Object.copyFile (node:internal/fs/promises:623:10)
at async module.exports (/tmp/.mount_nrf_cowyj5fR/resources/app.asar/node_modules/move-file/index.js:31:4)
at async IOe (/tmp/.mount_nrf_cowyj5fR/resources/app.asar/dist/main.js:643:19341)
at async X5 (/tmp/.mount_nrf_cowyj5fR/resources/app.asar/dist/main.js:645:1881)
at async wOe (/tmp/.mount_nrf_cowyj5fR/resources/app.asar/dist/main.js:645:1756)
at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:86160) {
errno: -21,
code: 'EISDIR',
syscall: 'copyfile',
path: '/tmp/fOmDuU/pc-nrfconnect-ble',
dest: '/home/magik/.nrfconnect-apps/node_modules/pc-nrfconnect-ble'
}

Deleting /home/magik/.nrfconnect-apps/ doesn't help.

Related