MacOS Desktop Javascript error

I installed the desktop app from the App Store. I get the following error message when i start the app

Uncaught Exception:

Error: dlopen(/Applications/Bitwarden.app/Contents/Resources/app.asar.unpacked/node_modules/@bitwarden/desktop-napi/desktop_napi.darwin-x64.node, 0x0001): symbol not found in flat namespace ‘OBJC_CLASS$_ASPasskeyCredentialIdentity’

at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)

at Module._extensions…node (node:internal/modules/cjs/loader:1602:18)

at Object.func [as .node] (node:electron/js2c/node_init:2:2786)

at Module.load (node:internal/modules/cjs/loader:1295:32)

at Module._load (node:internal/modules/cjs/loader:1111:12)

at c._load (node:electron/js2c/node_init:2:16955)

at Module.require (node:internal/modules/cjs/loader:1318:19)

at require (node:internal/modules/helpers:179:18)

at Object. (/Applications/Bitwarden.app/Contents/Resources/app.asar/node_modules/@bitwarden/desktop-napi/index.js:109:29)

at Module._compile (node:internal/modules/cjs/loader:1484:14)

I deleted the app and removed the folders recommended in another post, reinstalled the app and get the same error.

I am on a 2017 MacBook Pro. running Ventura 13.7.2

Thanks for any help,

Shane

1 Like

same here on Montery 12.7.6

Uncaught Exception:
Error: dlopen(/Applications/Bitwarden.app/Contents/Resources/app.asar.unpacked/node_modules/@bitwarden/desktop-napi/desktop_napi.darwin-x64.node, 0x0001): symbol not found in flat namespace (_OBJC_CLASS_$_ASPasskeyCredentialIdentity)
at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)
at Module._extensions..node (node:internal/modules/cjs/loader:1602:18)
at Object.func [as .node] (node:electron/js2c/node_init:2:2786)
at Module.load (node:internal/modules/cjs/loader:1295:32)
at Module._load (node:internal/modules/cjs/loader:1111:12)
at c._load (node:electron/js2c/node_init:2:16955)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Applications/Bitwarden.app/Contents/Resources/app.asar/node_modules/@bitwarden/desktop-napi/index.js:109:29)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
1 Like

@n8vtexan Welcome to the forum!

I’m not quite sure which folders you deleted - after deinstallation, you should try to delete all local storage (Storage | Bitwarden Help Center) and then reinstall. @trapassati I would suggest the same for you.

I have the same problem;

After upgrading Bitwarden to version 2025.1.0 in the App Store this morning, an error was reported when opened: A JavaScript error occurred in the main process

Apple M1 Pro
macOS 13.5.2

@JustCrazyer Welcome to the forum!

Did you try to 1. deinstall the app, 2. delete the local storage of the app (see here: Storage | Bitwarden Help Center), 3. reinstall the app. ?

Hi!
Same error. I’ve tried, but didn’t help
AppStore version and Standalone

Thanks! That was the article i followed when i deleted those items. I also got this on a fresh install, first time ever. I did delete the app, and removed those items. Reinstalled and still getting that error.

Same issue here. Originally installed some months ago and updated from the App Store, but tried a fresh website download too and no change. (New version 2025.1.0)
Did a full delete of everything with “bitwarden” in its name, restarted and reinstalled, and get the same error.
MacOS Ventura 13.7.2 on MBP M1Max

A JavaScript error occurred in the main process

Uncaught Exception:

Error: dlopen(/Applications/Bitwarden.app/Contents/Resources/app.asar.unpacked/node_modules/@bitwarden/desktop-napi/desktop_napi.darwin-arm64.node, 0x0001): symbol not found in flat namespace ‘OBJC_CLASS$_ASPasskeyCredentialIdentity’

at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)

at Module._extensions…node (node:internal/modules/cjs/loader:1602:18)

at Object.func [as .node] (node:electron/js2c/node_init:2:2786)

at Module.load (node:internal/modules/cjs/loader:1295:32)

at Module._load (node:internal/modules/cjs/loader:1111:12)

at c._load (node:electron/js2c/node_init:2:16955)

at Module.require (node:internal/modules/cjs/loader:1318:19)

at require (node:internal/modules/helpers:179:18)

at Object. (/Applications/Bitwarden.app/Contents/Resources/app.asar/node_modules/@bitwarden/desktop-napi/index.js:123:29)

at Module._compile (node:internal/modules/cjs/loader:1484:14)

Okay, more and more it looks like a bug with the latest installer / release of the desktop app…

4 Likes

Given that uninstall/delete storage/reinstalll did not fix this, I would contact support. ([email protected]). Be sure to include your symptoms and what you tried, as you have documented here. They have better insight into other problem reports and potential work-arounds.

1 Like

Just attempted once more to completely uninstall Bitwarden including all local storage, reinstall via the App Store, and ran into the same JavaScript error when attempting to launch.

Thanks all, we’re working on a fix for this one!

2 Likes

I also hope for MacOS Monterey

1 Like

Yes, I’ve tried, but didn’t help

Hello!
This is marked as solved? If we downloaded the broken update and it failed for us. How do we fix this?

Has this been marked as “solved” to acknowledge that it is an issue and a fix is in the works? If so, how will we be notified that it is in fact fixed and what to do?

@el-such-n-such I think the released desktop app version 2025.1.1 should be the fix. (Release Desktop v2025.1.1 · bitwarden/clients · GitHub)

1 Like

Any idea when that will hit the app store?

Thank you! Replacing the failed install with this version fixed it for me.

I hope it will be released soon on MAS too. I really need the Safari extension