Skip to main content
cjbulow
April 24, 2023
Question

Unable to install nightly build: "A JavaScript error occurred in the main process"

  • April 24, 2023
  • 11 replies
  • 574 views

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
at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
at Object.func as .node
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)

11 replies

GreyM1P
1Password Employee
April 24, 2023

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

cjbulow
cjbulowAuthor
April 24, 2023

Thanks for the update.

GreyM1P
1Password Employee
April 24, 2023

@cjbulow – You're welcome. :)

cjbulow
cjbulowAuthor
April 28, 2023

Any news yet please? Anything I can test on? Thanks.

GreyM1P
1Password Employee
April 28, 2023

@cjbulow – Our Development team have solved the underlying cause of this issue and it's now resolved in the latest nightlies, so you can now switch production channel to Nightly and update to the latest when prompted. If you run into any trouble along the way, let me know.

cjbulow
cjbulowAuthor
April 28, 2023

Yup; hadn't checked as hadn't seen an update here but all looks OK now & latest Nightly installed.

GreyM1P
1Password Employee
April 28, 2023

@cjbulow – Ace! Thanks for letting me know. Sorry for the hiccup. :)

cjbulow
cjbulowAuthor
April 28, 2023

It's beta, so totally par for the course, not a problem :)

1P_Dave
1Password Employee
May 4, 2023

Thank you again for reporting the issue. 🙂

-Dave

May 23, 2023

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 node:electron/js2c/asar_bundle:2:1822
at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
at Object.func 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)