I’m having trouble with compiling the latest version of my project. I’ve successfully compiled the project before but that was back in 2017.
The error I’m getting is when I try to run the compiler, Firefox tells me:
EXPORT FAILED
Error: Could not open web/mygame/index.html
Everything seems to work fine locally (the files all exist, the game works, etc.), so I’m not sure what I may be doing wrong. Any help would be appreciated.
Are you using the most recent version of Choicescript? If you’re still using a version from 2017, then you’re probably going to run into tons of errors. There’s also been a lot of errors with Firefox recently - have you tried running the compiler in a different browser?
Thanks for responding! I didn’t have success using Chrome or Explorer/Edge either, so perhaps it is the old version of the compiler. If you can point me to the new version I’d love to give that a try
Does exporting a compilation from within CSIDE work? I appreciate you can’t use a custom stylesheet (yet), just trying to eliminate problem spaces.
But my assumption is that you’ve just not got the paths quite right somewhere.
EDIT: Actually is this all to do with the fact you need to “upload” files now? For compile.html you need to upload your whole CS folder (i.e. choicescript-master).
Oh, I got it to work! I think what happened was that I extracted the files in such a way that there were two “choicescript-master” files nested on top of each other, if that makes any sense! (How does one compile from CSIDE, though?)
I’ve been trying to learn how to use CSIDE over the last couple of days and i’m confused when i get and error for gender choice, and choices in particular. I would really appreciate some help since this is the 1st time i’m doing this.
It sounds like you’d benefit from posting about your specific issues in the “ultimate noob coding question thread” or searching for topics relating to the specific errors you get, @Xiomy_Gomez. The more specific you are about what you’re doing, what errors and messages you’re seeing, or what you’re confused by, the more likely someone will have a solution for you!