Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1Password isn't working with Min #1981

Closed
lpossamai opened this issue Apr 26, 2022 · 36 comments
Closed

1Password isn't working with Min #1981

lpossamai opened this issue Apr 26, 2022 · 36 comments
Labels

Comments

@lpossamai
Copy link

  • Min Version: Version 1.24.0 (1.24.0)
  • Operating system: MacOS Monterey (m1 architecture) 12.3.1 (21E258)

Expected Behavior

1password Password autofill should work as expected.

Actual Behavior

When selecting 1Password in the Preferences as my password manager, Min requests the email, password and secret key for the 1password account.

I type the information and press OK, but the window keeps coming back requesting to enter the information again and again.
Screen Shot 2022-04-26 at 8 20 37 PM

I've already tested multiple times and the email, password and secret key are correct.

I've tried sudo rm -rf /usr/local/bin/op && rm -rf ~/.op as well, but the issue persists.

Any thoughts? Thanks!

@lpossamai lpossamai added the bug label Apr 26, 2022
@lpossamai
Copy link
Author

I was able to get this error message by "inspecting browser":

newTabBackground:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
placesWorker.js:3 worker started  28.80000001192093
database.js:27 database opened  146.10000002384186
favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
bundle.js:15014 checking for updates
bundle.js:15020 got response from update check Object
bundle.js:15027 update is not available
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634
bundle.js:11634 Error accessing 1Password CLI. STDOUT: undefined. STDERR: undefined SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at OnePassword.loadSuggestions (bundle.js:11597)
loadSuggestions @ bundle.js:11634

@lpossamai
Copy link
Author

This is not similar to #1626, because in my case I cannot authenticate as shown in the first screenshot. Whenever I type my email, password and secret key, they're prompt back again to me.

@PalmerAL
Copy link
Collaborator

What happens if you open the terminal and run op signin --raw my.1password.com <email> <secretKey> directly?

@lpossamai
Copy link
Author

op signin --raw my.1password.com email secretKey

I get:

[ERROR] 2022/04/29 09:02:45 expected at most 0 arguments but got 3 instead

However, if I try with the following command:

❯ op signin --raw --account my.1password.com --debug
Enter the password for lucas@lpossamai.me at my.1password.com:
CK0WwGwn9EZAnR3Um04u37WM6iUlivgS61M3d-YFlr8%

That seems to work.

@PalmerAL
Copy link
Collaborator

Did you have the 1password CLI previously set up before using it in Min? What version do you have installed (op --version)?

@lpossamai
Copy link
Author

No, I didn't have it installed before. I tried reinstalling it, but end up having the same issue.

op version is:

❯ op --version
2.1.0

@PalmerAL
Copy link
Collaborator

Ok thanks. It looks like the issue is that the 1password integration in Min is set up to work with an old version of the CLI (0.10), and the command syntax has changed in the latest versions (currently 2.1.0). So we need to update our integration to match.

The old version is still available: https://cache.agilebits.com/dist/1P/op/pkg/v0.10.0/op_darwin_amd64_v0.10.0.pkg (and is what you should get if you click the download link in the install popup in Min). However, I don't think that version will run on ARM, so it may not work for you unless you can configure it to run with Rosetta.

@lpossamai
Copy link
Author

Thanks for your update @PalmerAL.

Downloading the file you mentioned worked for me (had to uninstall the version 2.1 I had).

I'll be keeping an eye here for the update to support the new version :)

@hakarune
Copy link

hakarune commented May 1, 2022

I am on Arch so I don't know what to do with a pkg file. As for the newer op cli, min doesn't have a section to enter in the user's 1P site and does it handle the 2FA OTP code?

Using OP app command is "op signin [vault url] [email] [secret key]" then entering 2FA OTP code to get a session token.

@PalmerAL
Copy link
Collaborator

@lpossamai Can you try PR #1990 if you have a chance? (Instructions to run: https://github.com/minbrowser/min#developing). The first time you launch it, it should walk you through upgrading to 1Password CLI v2, and then autofill should work with the new CLI.

@PalmerAL
Copy link
Collaborator

@hakarune You'll need to install the CLI from outside Min; I think this is what you want: https://aur.archlinux.org/packages/1password-cli (but it's v2, so you'll need the PR I mentioned above for this to work also).

2FA isn't supported at the moment.

@hakarune
Copy link

@hakarune You'll need to install the CLI from outside Min; I think this is what you want: https://aur.archlinux.org/packages/1password-cli (but it's v2, so you'll need the PR I mentioned above for this to work also).

2FA isn't supported at the moment.

Oh okay. So even if I downgraded to v1 and then upgraded to v2 it won't work with 2FA? I understand. I'll continue to use the cli and gui app until 2FA is supported within min.

Thank you for the quick response.

@lpossamai
Copy link
Author

@lpossamai Can you try PR #1990 if you have a chance? (Instructions to run: https://github.com/minbrowser/min#developing). The first time you launch it, it should walk you through upgrading to 1Password CLI v2, and then autofill should work with the new CLI.

Hi @PalmerAL , thanks for that.

Just so I know I'm in the right track, do I need to install Node, then install its dependencies npm install, then build the npm run buildMacArm etc?

Thanks!

@PalmerAL
Copy link
Collaborator

Just so I know I'm in the right track, do I need to install Node, then install its dependencies npm install, then build the npm run buildMacArm etc?

Install node, and then:

git clone https://github.com/minbrowser/min.git
cd min
git checkout 1pass-upgrade
npm install
npm run start

@lpossamai
Copy link
Author

Just so I know I'm in the right track, do I need to install Node, then install its dependencies npm install, then build the npm run buildMacArm etc?

Install node, and then:

git clone https://github.com/minbrowser/min.git
cd min
git checkout 1pass-upgrade
npm install
npm run start

Yes, I was in the right track.. but am getting the error below when running npm install (I have a Mac M1 here JFYI):

❯ npm install
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated dmg-license@1.0.11: Disk image license agreements are deprecated by Apple and will probably be removed in a future macOS release. Discussion at: https://github.com/argv-minus-one/dmg-license/issues/11
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /opt/homebrew/Cellar/node/18.0.0/bin/node /opt/homebrew/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/lucas/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm ERR! npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm ERR! npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm ERR! npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm ERR! npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm ERR! npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm ERR! npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm ERR! npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm ERR! npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm ERR! npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm ERR! npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm ERR! npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm ERR! npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm ERR! npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! npm WARN deprecated ecstatic@0.8.0: This package is unmaintained and deprecated. See the GH Issue 259.
npm ERR! npm WARN deprecated ecstatic@4.1.4: This package is unmaintained and deprecated. See the GH Issue 259.
npm ERR! npm WARN deprecated ecstatic@4.1.4: This package is unmaintained and deprecated. See the GH Issue 259.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /Users/lucas/.npm/_cacache/tmp/git-cloneFMucJ0/node_modules/electron
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c node install.js
npm ERR! npm ERR! node:internal/process/promises:288
npm ERR! npm ERR!             triggerUncaughtException(err, true /* fromPromise */);
npm ERR! npm ERR!             ^
npm ERR! npm ERR!
npm ERR! npm ERR! GotError [HTTPError]: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip
npm ERR! npm ERR!     at EventEmitter.<anonymous> (/Users/lucas/.npm/_cacache/tmp/git-cloneFMucJ0/node_modules/got/source/as-stream.js:35:24)
npm ERR! npm ERR!     at EventEmitter.emit (node:events:527:28)
npm ERR! npm ERR!     at module.exports (/Users/lucas/.npm/_cacache/tmp/git-cloneFMucJ0/node_modules/got/source/get-response.js:22:10)
npm ERR! npm ERR!     at ClientRequest.handleResponse (/Users/lucas/.npm/_cacache/tmp/git-cloneFMucJ0/node_modules/got/source/request-as-event-emitter.js:155:5)
npm ERR! npm ERR!     at Object.onceWrapper (node:events:642:26)
npm ERR! npm ERR!     at ClientRequest.emit (node:events:539:35)
npm ERR! npm ERR!     at origin.emit (/Users/lucas/.npm/_cacache/tmp/git-cloneFMucJ0/node_modules/@szmarczak/http-timer/source/index.js:37:11)
npm ERR! npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:631:27)
npm ERR! npm ERR!     at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)
npm ERR! npm ERR!     at TLSSocket.socketOnData (node:_http_client:494:22) {
npm ERR! npm ERR!   host: 'github.com',
npm ERR! npm ERR!   hostname: 'github.com',
npm ERR! npm ERR!   method: 'GET',
npm ERR! npm ERR!   path: '/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! npm ERR!   socketPath: undefined,
npm ERR! npm ERR!   protocol: 'https:',
npm ERR! npm ERR!   url: 'https://github.com/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! npm ERR!   gotOptions: {
npm ERR! npm ERR!     path: '/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! npm ERR!     protocol: 'https:',
npm ERR! npm ERR!     slashes: true,
npm ERR! npm ERR!     auth: null,
npm ERR! npm ERR!     host: 'github.com',
npm ERR! npm ERR!     port: null,
npm ERR! npm ERR!     hostname: 'github.com',
npm ERR! npm ERR!     hash: null,
npm ERR! npm ERR!     search: null,
npm ERR! npm ERR!     query: null,
npm ERR! npm ERR!     pathname: '/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! npm ERR!     href: 'https://github.com/electron/electron/releases/download/v7.3.3/electron-v7.3.3-darwin-arm64.zip',
npm ERR! npm ERR!     retry: {
npm ERR! npm ERR!       retries: [Function (anonymous)],
npm ERR! npm ERR!       methods: Set(6) { 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' },
npm ERR! npm ERR!       statusCodes: Set(7) { 408, 413, 429, 500, 502, 503, 504 },
npm ERR! npm ERR!       errorCodes: Set(8) {
npm ERR! npm ERR!         'ETIMEDOUT',
npm ERR! npm ERR!         'ECONNRESET',
npm ERR! npm ERR!         'EADDRINUSE',
npm ERR! npm ERR!         'ECONNREFUSED',
npm ERR! npm ERR!         'EPIPE',
npm ERR! npm ERR!         'ENOTFOUND',
npm ERR! npm ERR!         'ENETUNREACH',
npm ERR! npm ERR!         'EAI_AGAIN'
npm ERR! npm ERR!       }
npm ERR! npm ERR!     },
npm ERR! npm ERR!     headers: {
npm ERR! npm ERR!       'user-agent': 'got/9.6.0 (https://github.com/sindresorhus/got)',
npm ERR! npm ERR!       'accept-encoding': 'gzip, deflate'
npm ERR! npm ERR!     },
npm ERR! npm ERR!     hooks: {
npm ERR! npm ERR!       beforeRequest: [],
npm ERR! npm ERR!       beforeRedirect: [],
npm ERR! npm ERR!       beforeRetry: [],
npm ERR! npm ERR!       afterResponse: [],
npm ERR! npm ERR!       beforeError: [],
npm ERR! npm ERR!       init: []
npm ERR! npm ERR!     },
npm ERR! npm ERR!     decompress: true,
npm ERR! npm ERR!     throwHttpErrors: true,
npm ERR! npm ERR!     followRedirect: true,
npm ERR! npm ERR!     stream: true,
npm ERR! npm ERR!     form: false,
npm ERR! npm ERR!     json: false,
npm ERR! npm ERR!     cache: false,
npm ERR! npm ERR!     useElectronNet: false,
npm ERR! npm ERR!     method: 'GET'
npm ERR! npm ERR!   },
npm ERR! npm ERR!   statusCode: 404,
npm ERR! npm ERR!   statusMessage: 'Not Found',
npm ERR! npm ERR!   headers: {
npm ERR! npm ERR!     server: 'GitHub.com',
npm ERR! npm ERR!     date: 'Tue, 10 May 2022 21:37:25 GMT',
npm ERR! npm ERR!     'content-type': 'text/plain; charset=utf-8',
npm ERR! npm ERR!     vary: 'X-PJAX, X-PJAX-Container, Accept-Encoding, Accept, X-Requested-With',
npm ERR! npm ERR!     'permissions-policy': 'interest-cohort=()',
npm ERR! npm ERR!     'cache-control': 'no-cache',
npm ERR! npm ERR!     'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
npm ERR! npm ERR!     'x-frame-options': 'deny',
npm ERR! npm ERR!     'x-content-type-options': 'nosniff',
npm ERR! npm ERR!     'x-xss-protection': '0',
npm ERR! npm ERR!     'referrer-policy': 'no-referrer-when-downgrade',
npm ERR! npm ERR!     'expect-ct': 'max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"',
npm ERR! npm ERR!     'content-security-policy': "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
npm ERR! npm ERR!     'content-encoding': 'gzip',
npm ERR! npm ERR!     'content-length': '29',
npm ERR! npm ERR!     'x-github-request-id': 'CB3B:03BD:173C59:1DCB8B:627ADB15',
npm ERR! npm ERR!     connection: 'close'
npm ERR! npm ERR!   },
npm ERR! npm ERR!   body: undefined
npm ERR! npm ERR! }
npm ERR! npm ERR!
npm ERR! npm ERR! Node.js v18.0.0
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /Users/lucas/.npm/_logs/2022-05-10T21_36_47_914Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/lucas/.npm/_logs/2022-05-10T21_36_04_152Z-debug-0.log

@PalmerAL
Copy link
Collaborator

That's weird - it's trying to install a really old version of Electron, but we specify a newer version in the package.json: https://github.com/minbrowser/min/blob/master/package.json#L50

Also, it's complaining about the ecstatic package, but that doesn't appear anywhere in our dependency tree AFAICT (even indirectly). Are you in the right directory (cd min) when running npm install?

@lpossamai
Copy link
Author

Hmm.. Yes, I am in the right directory

❯ ll
total 72
-rw-r--r--   1 lucas  staff    11K 11 May 09:01 LICENSE.txt
-rwxr-xr-x   1 lucas  staff   7.9K 11 May 09:01 README.md
drwxr-xr-x  18 lucas  staff   576B 11 May 09:01 css
drwxr-xr-x   3 lucas  staff    96B 11 May 09:01 docs
drwxr-xr-x  10 lucas  staff   320B 11 May 09:01 ext
drwxr-xr-x   7 lucas  staff   224B 11 May 09:01 icons
-rw-r--r--   1 lucas  staff    11K 11 May 09:01 index.html
drwxr-xr-x  38 lucas  staff   1.2K 11 May 09:01 js
drwxr-xr-x   4 lucas  staff   128B 11 May 09:01 localization
drwxr-xr-x  16 lucas  staff   512B 11 May 09:01 main
-rw-r--r--   1 lucas  staff   3.3K 11 May 09:01 package.json
drwxr-xr-x  10 lucas  staff   320B 11 May 09:01 pages
drwxr-xr-x   7 lucas  staff   224B 11 May 09:01 reader
drwxr-xr-x   4 lucas  staff   128B 11 May 09:01 resources
drwxr-xr-x  14 lucas  staff   448B 11 May 09:01 scripts

I'll keep troubleshooting!

@lpossamai
Copy link
Author

Hmm.. Yes, I am in the right directory

❯ ll
total 72
-rw-r--r--   1 lucas  staff    11K 11 May 09:01 LICENSE.txt
-rwxr-xr-x   1 lucas  staff   7.9K 11 May 09:01 README.md
drwxr-xr-x  18 lucas  staff   576B 11 May 09:01 css
drwxr-xr-x   3 lucas  staff    96B 11 May 09:01 docs
drwxr-xr-x  10 lucas  staff   320B 11 May 09:01 ext
drwxr-xr-x   7 lucas  staff   224B 11 May 09:01 icons
-rw-r--r--   1 lucas  staff    11K 11 May 09:01 index.html
drwxr-xr-x  38 lucas  staff   1.2K 11 May 09:01 js
drwxr-xr-x   4 lucas  staff   128B 11 May 09:01 localization
drwxr-xr-x  16 lucas  staff   512B 11 May 09:01 main
-rw-r--r--   1 lucas  staff   3.3K 11 May 09:01 package.json
drwxr-xr-x  10 lucas  staff   320B 11 May 09:01 pages
drwxr-xr-x   7 lucas  staff   224B 11 May 09:01 reader
drwxr-xr-x   4 lucas  staff   128B 11 May 09:01 resources
drwxr-xr-x  14 lucas  staff   448B 11 May 09:01 scripts

I'll keep troubleshooting!

I'm sorry @PalmerAL , but I can't get it working.

Tried:

  1. brew uninstall node npm
  2. Installed node from their website
  3. removed ~/.npm and ~.electron
  4. ran npm install and got the same error
  5. Did steps 3 and 4 using Node/NPM from Brew as well.

I don't know what else I can try, but looks like this is an issue on my end.

@PalmerAL
Copy link
Collaborator

Hm, I don't know. I'll post a beta release sometime soon that you can try though.

@lpossamai
Copy link
Author

Any updates here, please? Sorry, kinda tired of having CTRL+C/CTRL+V my passwords lol

@PalmerAL
Copy link
Collaborator

Sorry for the lack of communication here. I just posted a beta release that should fix this: https://github.com/minbrowser/min/releases/tag/v1.25.0-beta , please let me know if it works for you.

@lpossamai
Copy link
Author

Thanks, @PalmerAL .

I've tried it but I still face the same issue, where Min asks for the 1password username and password over and over.

Tried with op version 2.4.1 and 2.2.
Running op signin --raw --account my.1password.com --debug works.

You can see the video of the issue here: https://youtu.be/uG-LZoorKls

Min version: Version 1.25.0-beta (1.25.0-beta)

Any suggestions?

@PalmerAL
Copy link
Collaborator

I think I've found the issue (78733fb), can you try this build: https://workdrive.zohoexternal.com/file/m5t3g2457de2f03e84478953c6e145dd9b667 ?

@lpossamai
Copy link
Author

I think I've found the issue (78733fb), can you try this build: https://workdrive.zohoexternal.com/file/m5t3g2457de2f03e84478953c6e145dd9b667 ?

Thanks! It's working... it's not asking for the password anymore. However, no password comes up. If I use command+\, I'm able to see the logins but autofill doesn't work. I have to manually copy the username and password.

Tried inspect browser to see if I could find any logs, but nothing comes up there. Let me know if there is any logs I can share with you to help troubleshoot this, please.

@PalmerAL
Copy link
Collaborator

PalmerAL commented Jun 16, 2022

Can you explain more what happens when you use the shortcut (maybe with a screenshot)? If you're seeing a list of usernames, you should be able to click on one of those to fill in the password.

Also, what websites is this happening on?

@lpossamai
Copy link
Author

Can you explain more what happens when you use the shortcut (maybe with a screenshot)? If you're seeing a list of usernames, you should be able to click on one of those to fill in the password.

Also, what websites is this happening on?

Check out the screenshot here: https://tmpfiles.org/dl/319637/screenrecording2022-06-17at10.08.35am.mov

You can see that even by using command+\, autofill won't work.

@PalmerAL
Copy link
Collaborator

OK, thanks for the video, can you try this one? https://workdrive.zohoexternal.com/file/7miztb4425b0cb27b4b43a4c93852166c111a

@lpossamai
Copy link
Author

OK, thanks for the video, can you try this one? https://workdrive.zohoexternal.com/file/7miztb4425b0cb27b4b43a4c93852166c111a

I've tried that one and it happens the same issue as described here: #1981 (comment)

You can check the screen recording here: https://tmpfiles.org/dl/319665/screenrecording2022-06-17at11.28.05am.mov

bundle.js:9406 Uncaught TypeError: Cannot read properties of undefined (reading 'private')
    at TaskList.<anonymous> (bundle.js:9406:23)
    at bundle.js:15813:53
    at Array.forEach (<anonymous>)
    at bundle.js:15813:35
newTabBackground:1          Failed to load resource: net::ERR_FILE_NOT_FOUND
placesWorker.js:3 worker started  25.899999976158142
​ database opened  128.60000002384186
processWorker.js:26 Error: Process terminated: [ERROR] 2022/06/17 11:22:17 found no accounts for filter "min-autofill"
, null, undefined, 1
    at onmessage (processWorker.js:16:13)
bundle.js:11700 Error accessing 1Password CLI.  Error: Process terminated: [ERROR] 2022/06/17 11:22:17 found no accounts for filter "min-autofill"
, null, undefined, 1 Error: Process terminated: [ERROR] 2022/06/17 11:22:17 found no accounts for filter "min-autofill"
, null, undefined, 1
unlockStore @ bundle.js:11700
bundle.js:15125 checking for updates
processWorker.js:26 Error: Process terminated: [ERROR] 2022/06/17 11:22:43 found no accounts for filter "min-autofill"
, null, undefined, 1
    at onmessage (processWorker.js:16:13)
bundle.js:11700 Error accessing 1Password CLI.  Error: Process terminated: [ERROR] 2022/06/17 11:22:43 found no accounts for filter "min-autofill"
, null, undefined, 1 Error: Process terminated: [ERROR] 2022/06/17 11:22:43 found no accounts for filter "min-autofill"
, null, undefined, 1
unlockStore @ bundle.js:11700
bundle.js:15131 got response from update check Object
bundle.js:15138 update is not available
2bundle.js:11991 Failed to get password suggestions: 
(anonymous) @ bundle.js:11991
2bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
bundle.js:11494 Error: no credentials entered
    at OnePassword.signInAndSave (bundle.js:11742:15)
(anonymous) @ bundle.js:11494
2bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
bundle.js:11494 Error: no credentials entered
    at OnePassword.signInAndSave (bundle.js:11742:15)
(anonymous) @ bundle.js:11494
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
bundle.js:11500 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getLocalPath')
    at bundle.js:11500:52
processWorker.js:26 Error: Process terminated: [ERROR] 2022/06/17 11:25:41 found no accounts for filter "min-autofill"
, null, undefined, 1
    at onmessage (processWorker.js:16:13)
bundle.js:11700 Error accessing 1Password CLI.  Error: Process terminated: [ERROR] 2022/06/17 11:25:41 found no accounts for filter "min-autofill"
, null, undefined, 1 Error: Process terminated: [ERROR] 2022/06/17 11:25:41 found no accounts for filter "min-autofill"
, null, undefined, 1
unlockStore @ bundle.js:11700
await in unlockStore (async)
unlock @ bundle.js:11954
await in unlock (async)
(anonymous) @ bundle.js:11975
Promise.then (async)
(anonymous) @ bundle.js:11969
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11991 Failed to get password suggestions: 
(anonymous) @ bundle.js:11991
Promise.catch (async)
(anonymous) @ bundle.js:11990
Promise.then (async)
(anonymous) @ bundle.js:11969
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69

More logs:

bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error: no credentials entered
    at OnePassword.signInAndSave (bundle.js:11742:15)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11750:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11500 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getLocalPath')
    at bundle.js:11500:52
(anonymous) @ bundle.js:11500
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17498
runChangeCallbacks @ bundle.js:17495
set @ bundle.js:17520
(anonymous) @ bundle.js:18755
(anonymous) @ bundle.js:18794
(anonymous) @ bundle.js:18792
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69

@PalmerAL
Copy link
Collaborator

I think I was too late to download the recording before it expired, which is unfortunate. The logs don't make much sense to me; the primary error seems to be:

bundle.js:11494 Error: no credentials entered
at OnePassword.signInAndSave (bundle.js:11742:15)

which should only happen if you exited the signin dialog without entering a password or key, but I'm assuming you did.

Can you try starting over with a fresh install of the CLI?

  1. Quit Min
rm /usr/local/bin/op
rm -r ~/.op
rm -r ~/.config/op
  1. Restart Min and go through the setup process again.

@lpossamai
Copy link
Author

Hi!

I've removed op and have restarted Min.

Min will ask me to setup 1Password. Followed the steps but the 1password login page keeps showing up. It doesn't accept my login details.

Video: https://tmpfiles.org/dl/320627/screenrecording2022-06-18at9.08.36am.mov

I'm using Min Version 1.25.0-beta (1.25.0-beta) and OP 2.2.0.

@PalmerAL
Copy link
Collaborator

OK. I've made another build with more logging that should hopefully help: https://workdrive.zohoexternal.com/file/gy4tc502d50cc1c5b47f4b5e774907b7f55d0

Can you do this?

  1. Close Min and install the build from the link.
  2. Remove the op binary and the cli configuration files again:
rm /usr/local/bin/op
rm -r ~/.op
rm -r ~/.config/op
  1. Start the copy of Min that you downloaded.
  2. Open developer > inspect browser > console
  3. Enable 1Password in Min and go through the setup process
  4. Copy the console logs and post them here (it would probably be best to read over them before posting and ensure they don't contain any passwords).

@lpossamai
Copy link
Author

I've done what you requested. Here are the logs:

bundle.js:15139 checking for updates
bundle.js:15145 got response from update check {version: '1.24.0', releaseTime: 1647306587755, releaseHeadline: 'Bug fixes and security improvements', releaseNotes: 'https://minbrowser.org/releases/', availabilityPercent: 1}
bundle.js:15152 update is not available
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath false
bundle.js:11583 _getToolPath
bundle.js:11586 _getToolPath true
bundle.js:11596 _checkVersion
bundle.js:11599 _checkVersion 2.2.0
bundle.js:11726 begin signout
bundle.js:11733 signout done
bundle.js:11758 begin add account
processWorker.js:16 process error output:  Biometric unlock integration with the 1Password app is enabled. Add an account through the 1Password app.

To learn how to add an account to the 1Password app, visit: https://support.1password.com/add-account

bundle.js:11762 got account key 
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11764:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11726 begin signout
bundle.js:11733 signout done
bundle.js:11758 begin add account
processWorker.js:16 process error output:  Biometric unlock integration with the 1Password app is enabled. Add an account through the 1Password app.

To learn how to add an account to the 1Password app, visit: https://support.1password.com/add-account

bundle.js:11762 got account key 
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11764:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11726 begin signout
bundle.js:11733 signout done
bundle.js:11758 begin add account
processWorker.js:16 process error output:  Biometric unlock integration with the 1Password app is enabled. Add an account through the 1Password app.

To learn how to add an account to the 1Password app, visit: https://support.1password.com/add-account

bundle.js:11762 got account key 
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11764:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11726 begin signout
bundle.js:11733 signout done
bundle.js:11758 begin add account
processWorker.js:16 process error output:  Biometric unlock integration with the 1Password app is enabled. Add an account through the 1Password app.

To learn how to add an account to the 1Password app, visit: https://support.1password.com/add-account

bundle.js:11762 got account key 
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11764:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11726 begin signout
bundle.js:11733 signout done
bundle.js:11494 Error: credentials.email is missing
    at OnePassword.signInAndSave (bundle.js:11754:15)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11726 begin signout
bundle.js:11733 signout done
bundle.js:11758 begin add account
processWorker.js:16 process error output:  Biometric unlock integration with the 1Password app is enabled. Add an account through the 1Password app.

To learn how to add an account to the 1Password app, visit: https://support.1password.com/add-account

bundle.js:11762 got account key 
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11764:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11726 begin signout
bundle.js:11733 signout done
bundle.js:11758 begin add account
processWorker.js:16 process error output:  Biometric unlock integration with the 1Password app is enabled. Add an account through the 1Password app.

To learn how to add an account to the 1Password app, visit: https://support.1password.com/add-account

bundle.js:11762 got account key 
bundle.js:11494 Error
    at OnePassword.signInAndSave (bundle.js:11764:13)
(anonymous) @ bundle.js:11494
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
bundle.js:11500 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getLocalPath')
    at bundle.js:11500:52
(anonymous) @ bundle.js:11500
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11497
Promise.catch (async)
afterInstall @ bundle.js:11493
(anonymous) @ bundle.js:11449
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
(anonymous) @ bundle.js:11452
processTicksAndRejections @ node:internal/process/task_queues:96
Promise.then (async)
waitForInstallerComplete @ bundle.js:11447
setTimeout (async)
show @ bundle.js:11357
(anonymous) @ bundle.js:8111
Promise.then (async)
checkSettings @ bundle.js:8109
(anonymous) @ bundle.js:8121
(anonymous) @ bundle.js:17512
runChangeCallbacks @ bundle.js:17509
set @ bundle.js:17534
(anonymous) @ bundle.js:18769
(anonymous) @ bundle.js:18808
(anonymous) @ bundle.js:18806
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69

Thanks!

@PalmerAL
Copy link
Collaborator

Oh, OK. The issue is this setting in 1password:

Screen Shot 2022-06-20 at 6 56 07 PM

I think supporting biometric unlock will be fairly difficult. From the docs about it here it seems designed to only work from within an interactive terminal session; I tried testing this quickly, and it seems to silently fail when run within a node subprocess. Also, for some reason, enabling biometric unlock disables assigning shorthand names to accounts, which we use to distinguish between the account signed in to Min autofill and other accounts registered in the CLI, which could be different. (This is apparently by design: "within biometric unlock, there is no such concept as an account shorthand").

If you're OK with turning off that setting, you should be able to do that and then sign in through Min using your password. If you want/need to leave biometric unlock enabled for the CLI, I'm afraid I don't see a clear solution at the moment :(

@lpossamai
Copy link
Author

Thanks for your reply and help @PalmerAL .

Yes, disabling biometric unlock works. However, every 5 minutes or so Min will ask me to re-enter the 1Password password, which is really annoying since the password has more than 40 characters :D

But safe to close this issue. Thanks again.

@PalmerAL
Copy link
Collaborator

Hm, is it actually every 5 minutes? It's supposed to be "30 minutes of inactivity" (https://developer.1password.com/docs/cli/v1/reference#how-signin-works).

The definition of "inactivity" is also interesting. Right now, that's just the 1password CLI tracking the time since the last password request, so 30 minutes past when you last used autofill. But if you're still actively browsing in Min, we could issue some fake requests to the CLI on an interval so you stay "active" longer (maybe up to a certain longer timeout, like a few hours). Not sure if that's a good idea or not - WDYT?

If my password was 40 characters long, I wouldn't want to type it in very often either :)

@Pirastrino
Copy link

Hi, I found another problem related to this issue. I have 2FA enabled for 1Password so when I try to log in I end up in a loop.

Error: Process terminated: Enter your six-digit authentication code: [ERROR] 2022/11/04 14:48:14 inorrect One-Time Password length. expected 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants