Compile Failing (Used to work?)

I’m having trouble with the compiler using both the new and an old version of ChoiceScript. I tried CSW’s idea to check the log with f12 when trying to compile and got this:

Extracting js data from:
compile.html:17 version.js
compile.html:17 ../persist.js
compile.html:17 ../alertify.min.js
compile.html:17 ../util.js
compile.html:17 ../ui.js
compile.html:17 ../scene.js
compile.html:17 ../navigator.js
compile.html:17 ../ChoiceScriptSavePlugin.js
compile.html:17 mygame.js
compile.html:91 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')
    at slurpFileLines (compile.html:91:23)
    at generateMygame (mygamegenerator.js:121:15)
    at compile (compile.js:115:19)
    at compile.js:87:30

Anyone else having this issue? I figured maybe I had setup the save plugin wrong but when pulling up my archived folder of CS, which was working before, I’m getting the same issue.

While I can’t tell why compile.html is messing up for me now, I can confirm that run-compile.bat still worked fine.

1 Like

Yes, I had the exact same issue. Was pulling out my hair because I thought I was the only one! As you mentioned, run-compile.bat still worked.

2 Likes