Open janmyszkier opened 4 months ago
Hi there,
I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.
Thanks!
:+1: will try to build this locally and track it down to something meaningful.
same error for a version installed from Snap with Ubuntu 22:04
$ bitwarden
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Expected double-quoted property name in JSON at position 3678208 (line 95139 column 18)
at JSON.parse (
(bitwarden:15571): Gtk-WARNING **: 13:54:53.139: Theme parsing error: gtk.css:1413:23: 'font-feature-settings' is not a valid property name
(bitwarden:15571): Gtk-WARNING **: 13:54:53.141: Theme parsing error: gtk.css:3286:25: 'font-feature-settings' is not a valid property name
(bitwarden:15571): Gtk-WARNING **: 13:54:53.141: Theme parsing error: gtk.css:3748:23: 'font-feature-settings' is not a valid property name
(bitwarden:15571): Gtk-WARNING **: 13:54:53.778: Theme parsing error: gtk-dark.css:1413:23: 'font-feature-settings' is not a valid property name
(bitwarden:15571): Gtk-WARNING **: 13:54:53.781: Theme parsing error: gtk-dark.css:3286:25: 'font-feature-settings' is not a valid property name
(bitwarden:15571): Gtk-WARNING **: 13:54:53.781: Theme parsing error: gtk-dark.css:3748:23: 'font-feature-settings' is not a valid property name
Same issue. I am running Pop!_OS 22.04 LTS.
CLI Output returns:
A JavaScript error occurred in the main process Uncaught Exception: SyntaxError: Expected double-quoted property name in JSON at position 20480 (line 508 column 7) at JSON.parse (<anonymous>) at Conf._deserialize (/opt/Bitwarden/resources/app.asar/main.js:8930:43) at get store (/opt/Bitwarden/resources/app.asar/main.js:9141:43) at new Conf (/opt/Bitwarden/resources/app.asar/main.js:8994:32) at new ElectronStore (/opt/Bitwarden/resources/app.asar/main.js:13369:3) at new ElectronStorageService (/opt/Bitwarden/resources/app.asar/main.js:93271:22) at new Main (/opt/Bitwarden/resources/app.asar/main.js:93895:31) at 64164 (/opt/Bitwarden/resources/app.asar/main.js:75981:18) at __webpack_require__ (/opt/Bitwarden/resources/app.asar/main.js:97880:42) at /opt/Bitwarden/resources/app.asar/main.js:97936:37
Window never opens.
GNOME Version 42.9
Windowing System is X11
My Processor is the 11th Gen Intel® Core™ i7-11800H @ 2.30GHz and my GPU is the Nvidia RTX 3050 Mobile
Issue occurred for me yesterday suddenly. A reinstall was not successful. I noticed that a lot of bitwarden processes start. I did notice that right before this, the logs (~/.config/Bitwarden/app.log) returned the following:
[2024-07-22 14:39:48.545] [info] TypeError: Cannot read properties of undefined (reading 'deleteBiometricKey') at BiometricsService.<anonymous> (/opt/Bitwarden/resources/app.asar/main.js:47363:55) at Generator.next (<anonymous>) at /opt/Bitwarden/resources/app.asar/main.js:47271:71 at new Promise (<anonymous>) at biometrics_service_awaiter (/opt/Bitwarden/resources/app.asar/main.js:47267:12) at BiometricsService.deleteBiometricKey (/opt/Bitwarden/resources/app.asar/main.js:47361:16) at DesktopCredentialStorageListener.<anonymous> (/opt/Bitwarden/resources/app.asar/main.js:47569:45) at Generator.next (<anonymous>) at /opt/Bitwarden/resources/app.asar/main.js:47446:71 at new Promise (<anonymous>)
Just found another useful error in ~/.config/Bitwarden/logs/renderer.log
2024-07-22 15:39:44.124] [error] Unable to fetch ServerConfig: Error invoking remote method 'storageService': SyntaxError: Expected double-quoted property name in JSON at position 20480
I am not a Javascript programmer (I stick to Django and Flutter), but maybe we wrote some bad data to a file during a narrow set of circumstances? It's either that or I go blame Pop!_OS again.
Perhaps similar issue. This started maybe a week or two ago, after what I assume were on my end some routine Arch Linux updates. It persists even when I downgrade bitwarden to a version that uses earlier versions of electron, like 2024.1.0. I'm unfamiliar with how to diagnose this further at this time...
6.10.0-arch1-2 Gnome 46 bitwarden 2024.6.4-1 (installed from Arch repos)
└─❯ bitwarden-desktop
App threw an error during load
SyntaxError: Expected double-quoted property name in JSON at position 532480 (line 13258 column 55)
at JSON.parse (<anonymous>)
at Conf._deserialize (/usr/lib/bitwarden/app.asar/main.js:8930:43)
at get store (/usr/lib/bitwarden/app.asar/main.js:9141:43)
at new Conf (/usr/lib/bitwarden/app.asar/main.js:8994:32)
at new ElectronStore (/usr/lib/bitwarden/app.asar/main.js:13369:3)
at new ElectronStorageService (/usr/lib/bitwarden/app.asar/main.js:93271:22)
at new Main (/usr/lib/bitwarden/app.asar/main.js:93895:31)
at 64164 (/usr/lib/bitwarden/app.asar/main.js:75981:18)
at __webpack_require__ (/usr/lib/bitwarden/app.asar/main.js:97880:42)
at /usr/lib/bitwarden/app.asar/main.js:97936:37
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Expected double-quoted property name in JSON at position 532480 (line 13258 column 55)
at JSON.parse (<anonymous>)
at Conf._deserialize (/usr/lib/bitwarden/app.asar/main.js:8930:43)
at get store (/usr/lib/bitwarden/app.asar/main.js:9141:43)
at new Conf (/usr/lib/bitwarden/app.asar/main.js:8994:32)
at new ElectronStore (/usr/lib/bitwarden/app.asar/main.js:13369:3)
at new ElectronStorageService (/usr/lib/bitwarden/app.asar/main.js:93271:22)
at new Main (/usr/lib/bitwarden/app.asar/main.js:93895:31)
at 64164 (/usr/lib/bitwarden/app.asar/main.js:75981:18)
at __webpack_require__ (/usr/lib/bitwarden/app.asar/main.js:97880:42)
at /usr/lib/bitwarden/app.asar/main.js:97936:37
Steps To Reproduce
Expected Result
Bitwarden opens the application window
Actual Result
Screenshots or Videos
No response
Additional Context
No response
Operating System
Linux
Operating System Version
Ubuntu LTS 22.04
Installation method
Snap
Build Version
2024.5.0
Issue Tracking Info