Error Message with run-server


I’m totally new to ChoiceScript and have recently installed Node and the appropriate zip files. However, when “My First ChoiceScript Game” comes up in my browser, it gives me the following error message:

“startup line 55: Illegal mixing of spaces and tabs; this line has a tab, but there were spaces on line 54.”

Is there any way to get past this message? I’m using the latest version of Firefox.


1 Like

It’s probably not an issue with the browser display or anything – if you look at the code itself does line 54 or 55 have a weird indent? try spacing them both out again, using tabs or spaces to match the rest of your code accordingly.

Failing that, upload to and see if you have a similar error.

Failing that, just post your code here and i’ll take a look :slight_smile:

1 Like

That means you mix a tab or a space in your code, make sure to use the same indentation in all your game, only spaces or only tabs, you can’t use both, otherwise that’s the error you get.


Try pasting the code here, especially on line 54 of your snippet and around it. Don’t forget to use the preformat tag so the post window reveals the indentation and other characters in your post (accessible via Ctrl + Shift + C).