I’m trying to reinstall Anki (24.11) after installing a new operating system (Windows 11).
Every time I open the app, it flashes up and then immediately closes. I tried restarting my computer and the problem still wasn’t solved.
I tried holding shift while opening the program and it worked. However, when I tried to sync my decks from AnkiWeb it immediately crashes and closes after I press enter.
This was a fresh install with no add-ons. I’m really confused with what’s happening.
The problem was that I had Google Chrome as the default browser on my laptop. I changed my default browser to Firefox and the problem was solved! I’ll close the thread now.
Can anyone tell me why the default browser would have any effect on anki? I don’t see why Anki would crash without a backtrace or error just because of some OS setting which sets configs not even related to Anki.
I don’t understand completely (I don’t know anything about programming), but I think Anki was syncing via Chrome as this was the default browser (In fact, it was the only browser on my laptop). For some reason, I think Chrome was causing the error.
Once I changed the all of the default browser settings to Firefox, the problems stopped.
I highly doubt it though considering the Anki app basically is its own browser (chromium).
I’m glad it works for you. The reason why I asked is that I’m not really satisfied with only knowing what solved it; I also like to understand why it was solved that way. Maybe someone here has any clue to that.