Unable to install nightly build: "A JavaScript error occurred in the main process"
After restarting for upgrade to 8.10.6-5 Nightly restarted app crashes -- repeatable -- with this error message below. OS Big Sur 11.7.7.
No changes here as far as I'm aware but re-installing v.8.10.5 of 1PW brings a working app back. Have returned off nightly updates for the moment.
Uncaught Exception:
Error: dlopen(/Applications/1Password.app/Contents/Resources/app.asar.unpacked/index.node, 1): Symbol not found: _$s10Foundation11JSONDecoderC6decode_4fromxxm_AA4DataVtKSeRzlFTj
Referenced from: /Applications/1Password.app/Contents/Resources/app.asar.unpacked/index.node (which was built for Mac OS X 13.0)
Expected in: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
at Module.load (node:internal/modules/cjs/loader:1096:32)
at Module._load (node:internal/modules/cjs/loader:937:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1120:19)
at require (node:internal/modules/cjs/helpers:103:18)
at 361 (/Applications/1Password.app/Contents/Resources/app.asar/main.js:1:44043)
at n (/Applications/1Password.app/Contents/Resources/app.asar/main.js:1:148998)
Comments
-
Hi there @cjbulow
We're looking into this bug with the latest nightly builds on versions of macOS older than macOS Ventura. As you've found, using the Production version of 1Password will still work as expected.
Sorry for the inconvenience. I've added you to our internal tracker for this issue. Let me know if you have any questions or need any other help.
— Grey
ref: dev/core/core#21441
0 -
Thanks for the update.
0 -
Any news yet please? Anything I can test on? Thanks.
0 -
Yup; hadn't checked as hadn't seen an update here but all looks OK now & latest Nightly installed.
0 -
It's beta, so totally par for the course, not a problem :)
0 -
Thank you again for reporting the issue. 🙂
-Dave
0 -
Working version:
1Password for Mac 8.10.7 (81007011)macOS Monterey v12.6
As soon as I revert back to 81007011, the app works but immediately tries to install 8.10.7-30.nightly which causes the below to error on app open.
Uncaught Exception:
Error: dlopen(/Applications/1Password.app/Contents/Resources/app.asar.unpacked/index.node, 0x0001): Symbol not found: (_$s10Foundation11JSONDecoderC6decode_4fromxxm_AA4DataVtKSeRzlFTj)
Referenced from: '/Applications/1Password.app/Contents/Frameworks/index.node'
Expected in: '/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation'
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
at Module.load (node:internal/modules/cjs/loader:1096:32)
at Module._load (node:internal/modules/cjs/loader:937:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1120:19)
at require (node:internal/modules/cjs/helpers:103:18)
at 361 (/Applications/1Password.app/Contents/Resources/app.asar/main.js:1:44637)
at n (/Applications/1Password.app/Contents/Resources/app.asar/main.js:1:149553)0