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: SyntaxError: Unexpected token in JSON at posititon 0 #309

Open
alexemanuelol opened this issue Mar 29, 2024 · 1 comment
Open

ERROR: SyntaxError: Unexpected token in JSON at posititon 0 #309

alexemanuelol opened this issue Mar 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alexemanuelol
Copy link
Owner

alexemanuelol commented Mar 29, 2024

Known error that can occur when a PC/Server crashes. No solution to it yet but there is a branch that can be run to help finding the cause of the problem.

To switch to the instance_invalid branch, do the following in the console:

git stash
git fetch --all
git checkout instance_invalid
git stash pop

By running this branch it will print out more information every time we write to the instance file.

If you are running the branch and the error occur, please paste your log here.

error

@alexemanuelol alexemanuelol added the bug Something isn't working label Mar 29, 2024
@alexemanuelol
Copy link
Owner Author

Currently working on switching to typescript. By doing this I will be able to check the type before writing the instance file. So hopefully that will solve this issue when I get there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant