Hi,
I'm totally new to twine, and I have encountered a strange problem.
First, I'm using twine 2.2.1 and sugarcube 2.22.0.
I have started to create a story and so far, it works well inside twine, the debug mode doesn't show any issues, everything works as I intended.
However, if I publish the file to .html, it only works until the first set of scripts, where I get the following error message:
error within contents (Error: <<set>>: bad evaluation: undefined is not a function)
Unfortunately, I'm not knowledgeable in html (or coding in general), so I can't work out what the problem is. I hoped that whatever works in debug mode will also work after exporting. If this is not the case, I'll seriously reconsider using twine, as I don't want to lose hours of work just to realise that after publishing it won't even work anymore.
Do you have any idea how to solve this or what the problem may be? If needed, I can upload the file.