Compile error

I’m having trouble compiling my game. I searched the forum for a solution but couldn’t find anything. What helped me was when someone mentioned pressing F12 to view the error, but I’m not sure how to fix the issue. What appears in the console is this:

compile.html:17
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 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

Hmm, I’m guessing, but are any of your scene files empty?
You might need to share your project to get any further insight.

1 Like

I managed to solve the problem by compiling the game through the compile option that appears in run-server.bat as soon as the game starts in the browser; it is no longer an issue.

1 Like

See this thread Yet another recursion error (possible issues with too many *image commands? Or something else?)

There’s a heap of problems with the testers and compilers unless you run them through the local server rather than webpage view now.

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.