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

App won't launch on Windows - Javascript error about vibrancy #1079

Closed
Rifdhan opened this issue Sep 8, 2019 · 6 comments · Fixed by #1094
Closed

App won't launch on Windows - Javascript error about vibrancy #1079

Rifdhan opened this issue Sep 8, 2019 · 6 comments · Fixed by #1094

Comments

@Rifdhan
Copy link

Rifdhan commented Sep 8, 2019

When I launch Caprine it gives me a dialog saying "A javascript error occurred in the main process", with a stack trace that seems to be about some vibrancy parameter being invalid.
error
Upon clicking "OK" the window closes and the app does not launch (no taskbar icon, etc), however task manager shows a Caprine process is still running.

I have tried uninstalling and reinstalling Caprine to no effect.

OS: Windows 10 x64
Caprine version: 2.37.0

@Rifdhan
Copy link
Author

Rifdhan commented Sep 8, 2019

As a workaround for now, I have installed version 2.36.0 and it does not seem to have this issue.

@sindresorhus
Copy link
Owner

// @whitecrownclown

@ghost
Copy link

ghost commented Sep 30, 2019

I get the exact same error when installing 2.38.0 on my system.
image

OS: Windows 10 x64, Version 1809, Build 17763.737

@whitecrownclown
Copy link
Contributor

@sindresorhus
I have investigated this and my conclusion is that some configs have stale values for vibrancy which makes the validation fail and crash the application.

The fix for it would mean to delete/reset the configuration files.Unfortunately we cannot do this from the app since the validation is done before anything else. Maybe we could make use of migrations?

@GraionDilach
Copy link

Also happened when I bumped from 2.21 to 2.39. #1094 wasn't enough, apparently.

@mawkler
Copy link

mawkler commented Jun 25, 2020

To anyone with this problem: I was able to solve this issue by deleting C:\Users\*user*\AppData\Roaming\Caprine\config.json and then reinstalling Caprine.

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

Successfully merging a pull request may close this issue.

5 participants