SDK Manager CLI Error: Cannot find module 'electron'

SDK Manager version:
sdkmanager --ver

Host Ubuntu 18.04 LTS:
uname -orsv
Linux 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 GNU/Linux

NOTE: I have tried rebooting my host Linux system.
NOTE: I presume your sudo password is entered correctly.

The error occurs after the default 15 second delay on the command line GUI, I’m guessing as it starts to try to download or something and crashes:
sdkmanager --cli install --user --logintype devzone --product Jetson --version 4.3 --targetos Linux --target P3310 --flash skip --license accept --sudopassword XXXXX --exitonfinish --logs
Please enter password for user
Logging in…
Login succeeded.
Loading user information…
User information loaded successfully.
Loading server data…
Server data loaded successfully.
Session initialized…

Installation of this software is under the terms and conditions of the license agreements located in /opt/nvidia/sdkmanager/Eula/
Error: Cannot find module 'electron'
    at webpackMissingModule (/snapshot/__main__/headless.bundle.js)
    at /snapshot/__main__/headless.bundle.js
    at new Promise (<anonymous>)
    at new F (/snapshot/__main__/node_modules/core-js/library/modules/_export.js)
    at Store.exportLogsForSession (/snapshot/__main__/headless.bundle.js)
    at Array.wrappedActionHandler (/snapshot/__main__/node_modules/vuex/dist/vuex.common.js:706:23)
    at Store.dispatch (/snapshot/__main__/node_modules/vuex/dist/vuex.common.js:428:15)
    at Store.boundDispatch [as dispatch] (/snapshot/__main__/node_modules/vuex/dist/vuex.common.js:334:21)
    at /snapshot/__main__/headless.bundle.js

Since this is command line only, it’s confusing why it’s trying to load electron … but software is complicated.

Hi Andrew,
Please try not to use --logs option in the command line. The installation logs can be found under ~/.nvsdkm folder.
We will fix this issue in SDK Manager next release.