Hello
I am currently working on a visual novel using Monogatari; and I've faced an issue when trying to load custom JavaScript scripts to enhance gameplay mechanics. I followed the documentation ; and added my script files to the appropriate folder; but every time I try to run the game, I receive a console error that says: Uncaught SyntaxError: Unexpected token <.
Has anyone faced a similar issue? Could this be related to how the scripts are being loaded / some conflict with the default Monogatari engine scripts? I have referred https://developers.monogatari.io/documentation/diagnosing-errors-msbi but still need advice .
I'd appreciate any guidance ; suggestions on how to resolve this error.
Thanks in advance!