I just installed the latest version of sunbeam after skipping a few and I am moving my extensions to work with the recent changes.
At some point, i kept getting the error: Error: invalid character '1' after top-level value with any sunbeam command.
After some investigation, my ~/.cache/sunbeam/history.json didn't contain valid JSON anymore. I deleted it and sunbeam worked again.
There might be a small bug somewhere that leads to corrupted history and it would be great if issues with JSON parsing, like this one or other, could provide the path of the file with issues to make it easier to troubleshoot.
I just installed the latest version of sunbeam after skipping a few and I am moving my extensions to work with the recent changes.
At some point, i kept getting the error:
Error: invalid character '1' after top-level value
with any sunbeam command.After some investigation, my
~/.cache/sunbeam/history.json
didn't contain valid JSON anymore. I deleted it andsunbeam
worked again.There might be a small bug somewhere that leads to corrupted history and it would be great if issues with JSON parsing, like this one or other, could provide the path of the file with issues to make it easier to troubleshoot.