ReMapper Troubleshooting (WIP) - UGEcko/Chroodle GitHub Wiki
Get an error in your terminal when running your ReMapper script and you don't know what it means? Scroll through this page and see if you can spot a solution for your issue!
READ: Before reaching out to support, please scroll through these scenarios where you may encounter the issue and a potential solution will be provided.
If the issue still persists, please feel free reach out for support in the Heck discord server, or Swifters discord server!
"Expected double-quoted property in JSON"
error: Uncaught (in promise) SyntaxError: Expected double-quoted property name in JSON at position X (line X column X)
A JSON file (commonly info.dat
or a difficulty file) contains a property that isn't wrapped in double quotes. (Single quotes or no quotes aren't allowed.)
Usually this may happen if you tamper with the .dat
without being careful or lack the knowledge of JSON.
Correct:
"_beatsPerMinute" : 69
Incorrect:
'_beatsPerMinute' : 69
While this can happen to any JSON file, the log gives us partial information to determining which file this is occuring in.
If the log contains at loadInfo (...)
, the info.dat
file is causing this error.
- At the end of the first line of the error, in parentheses is the location of where the error occured in the
info.dat
file. Ex:(line 7 column 3)
If the log contains at readDifficulty(...)
, a difficulty file is causing this error.
- While the log doesn't explicitly log the file where this is occuring in, it still provides the location of the error in the JSON (Ex:
(line 7 column 3)
).
Look through each difficulty at the given line number and it should show up.
Note: If you are using Visual Studio Code, it should highlight the affected file AND property.
Lastly, replace any single quotes with double quotes: [' -> "
].