LD-ToyPad-Emulator
LD-ToyPad-Emulator copied to clipboard
node index.js step returns syntax error
george@debian:~/LD-ToyPad-Emulator$ node index.js undefined:11 ]5": 4026531839 ^
SyntaxError: Unexpected number in JSON at position 208
at JSON.parse (
Any ideas what I can do to solve this? I've had a look in the index.js file for the mentioned ]5" with ctrlF but no luck, but I'm also not knowledgeable on the topic so I'm sure I'm misunderstanding something
Edit 1: Of note, I couldn't find the loader.js file at all, is that unusual?
Edit 2: Fixed the issue but leaving up as others seem to have had similar issues; The problem was at server/json/toytags.json, when making a new toy tag it messed up writing it to this file and made the syntax go bad, I went into the file and removed the bad syntax and it's now running as normal