sufone / qawl

📖 Quran Reader for Linux, Windows, macOS
https://qawl.app
GNU Affero General Public License v3.0
82 stars 11 forks source link

Failing builds and dev-server runs: `unexpected token u in JSON` #37

Closed mr-islam closed 3 years ago

mr-islam commented 3 years ago

Was having a persistent problem that resulted in a blank white screen upon launching Qawl either from an installed build (tried v0.0.3 and v0.0.4), or a dev server using the latest code. Seem related to what was reported in #11. Got an error:

Unexpected token u in JSON at position 0

And the files/lines cited didn't have any issue. Tried deleting node_modules and re-installing, didn't work. Uninstalling Qawl and deleting it's install directory from %appdata% on windows did the trick, and now the installed build v0.0.4 works. and

I'll leave this issue open until a few months go by and this issue doesn't re-appear, or we are able to pinpoint what caused this.

My dev server still fails to load the app, but at least it's giving a different error I can debug. Sigh. This really must be what #11 was facing, when BiL reported a blank white screen after building a version cloning the code from master!

mr-islam commented 3 years ago

dev server not loading was a silly issue based upon the svelte persistent store library (my usage of it)

all good now