This morning I was editing a LaTex document when all of a sudden the continuous compilation stopped working. I tried recompiling the file and received this error:
2021/08/07 20:36:53 Rollbar error: empty token
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x121917c]
goroutine 1 [running]:
github.com/ActiveState/cli/internal/locale.T(0x1ec6d62, 0x15, 0x0, 0x0, 0x0, 0x206a220, 0x8)
D:/a/cli/cli/internal/locale/locale.go:119 +0x5c
github.com/ActiveState/cli/internal/language.init()
D:/a/cli/cli/internal/language/language.go:69 +0x4e
2021/08/07 21:19:04 Rollbar error: empty token
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x121917c]
I tried restarting my computer and recompiling yet it didn't seem to work. I'm not sure what the error message means or how to fix it, but I've tried compiling another minimal tex file and that also didn't work.
Currently I'm using MikTex on Windows and VimTex to run the LatexMk package. I could compile the same file with the xelatex command, but the same error appears when I try to compile using latexmk from the command line.
What should I do to fix this error?