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

Error when scanning dock #16

Open
xuerzong opened this issue Feb 5, 2023 · 2 comments
Open

Error when scanning dock #16

xuerzong opened this issue Feb 5, 2023 · 2 comments

Comments

@xuerzong
Copy link

xuerzong commented Feb 5, 2023

When I open the app or run the script npx dockhunt, it will throw an error:

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: Cannot read properties of undefined (reading 'dict')
    at getAppNamesToIconPaths (/snapshot/dist/index.cjs)
    at getDockContents (/snapshot/dist/index.cjs)

Test env

MacBook Pro (Retina, 15-inch, Mid 2015)
MacOS Mojave 10.14.6

@rowatt
Copy link

rowatt commented Feb 12, 2023

I get an almost identical error:

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: Cannot read properties of undefined (reading '0')
    at getAppNamesToIconPaths (/snapshot/dist/index.cjs)
    at getDockContents (/snapshot/dist/index.cjs)

Running M1 MacBook Pro, macOS Ventura 13.2

@marcodelu
Copy link

marcodelu commented Oct 3, 2023

same here 🤔
M1 Pro, macOS Sonoma 14.0

Scanning your dock...

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: Cannot read properties of undefined (reading '0')
    at getAppNamesToIconPaths (/snapshot/dist/index.cjs)
    at getDockContents (/snapshot/dist/index.cjs)

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

No branches or pull requests

3 participants