bayleeadamoss / zazu-file-finder

A file finder for Zazu.
18 stars 11 forks source link

Resolution: If you have a "Uncaught Exception" after updated to version 1.1.0 on macOS #44

Closed acbetter closed 4 years ago

acbetter commented 4 years ago

A JavaScript error occurred in the main process

The "oldPath" argument must be one of type string, Buffer, or URL.

image

If you have these issues after Result items don't match what i type on macOS #351 fix, Here's Resolution

  1. delete zazu-file-finder directory in ~/.zazu/plugins/tinytacoteam/zazu-file-finder
  2. click Zazu and choose Update Plugins
  3. click Zazu and choose Toggle Zazu
  4. after Zazu load finished,Toggle Zazu and type something
  5. quit Zazu
  6. open Zazu, Toggle Zazu and type something

Step 5 & 6 for clean Zazu app icon cache for macOS. If it doesn't work, repeat Step 5 & 6 until it works properly.


Update: Once you have followed the steps and cleaned the cache, this error won't happen again.

linonetwo commented 4 years ago

I found it hard to catch all error in electron v5.

So it is caused by outdated cache? Glad you found the way to solve and thank you for posted it here.

linonetwo commented 4 years ago

So it actually won't happen again?

acbetter commented 4 years ago

So it actually won't happen again?

Yes, after cleaned the outdated cache, it won't happen again.