Description:
After updating to GitKraken Snap version 11.3.0, the application fails to start.
Running with debug output (gitkraken -d) shows a TypeError in parseArgv.js where overrideActivityLogLevel is not a string.
Steps to Reproduce:
- Install GitKraken via Snap (
snap install gitkraken or update to 11.3.0).
- Run
gitkraken -d in the terminal.
- Observe the crash.
The application crashes immediately with the following stack trace:
/snap/gitkraken/263/usr/share/gitkraken/resources/app.asar/src/main/static/parseArgv.js:205
overrideActivityLogLevel: (overrideActivityLogLevel || '').toUpperCase(),
^
TypeError: (overrideActivityLogLevel || "").toUpperCase is not a function
at parseArgv (/snap/gitkraken/263/usr/share/gitkraken/resources/app.asar/src/main/static/parseArgv.js:205:64)
at /snap/gitkraken/263/usr/share/gitkraken/resources/app.asar/src/main/static/cli.js:8:25
at Object.<anonymous> (/snap/gitkraken/263/usr/share/gitkraken/resources/app.asar/src/main/static/cli.js:36:3)
at Module._compile (node:internal/modules/cjs/loader:1544:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1629:10)
at Module.load (node:internal/modules/cjs/loader:1282:32)
at Module._load (node:internal/modules/cjs/loader:1103:12)
at c._load (node:electron/js2c/node_init:2:16955)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:179:12)
at node:internal/main/run_main_module:28:49
Node.js v20.19.0
Environment:
- OS: Ubuntu 22.04
- GitKraken Snap version: 11.3.0 (revision 263)
- Node.js bundled version: v20.19.0 (from Snap package)
Additional Notes:
- Resetting
~/.config/gitkraken does not fix the issue.
- The error seems to be caused by
overrideActivityLogLevel being set to a non-string value before calling .toUpperCase().
- This happens consistently on every launch.
Description:
After updating to GitKraken Snap version
11.3.0, the application fails to start.Running with debug output (
gitkraken -d) shows aTypeErrorinparseArgv.jswhereoverrideActivityLogLevelis not a string.Steps to Reproduce:
snap install gitkrakenor update to 11.3.0).gitkraken -din the terminal.The application crashes immediately with the following stack trace:
Environment:
Additional Notes:
~/.config/gitkrakendoes not fix the issue.overrideActivityLogLevelbeing set to a non-string value before calling.toUpperCase().