# Compile Error: "Export Failed"

**URL:** <https://forum.choiceofgames.com/t/compile-error-export-failed/70536>\
**Category:** ChoiceScript Help\
**Created:** [December 15, 2019, 4:27pm UTC](https://forum.choiceofgames.com/t/compile-error-export-failed/70536 "2019-12-15T16:27:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![rinari](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/rinari/32/86277_2.png) [@rinari](https://forum.choiceofgames.com/u/rinari)\
**Post date:** [September 2, 2020, 11:26pm UTC](https://forum.choiceofgames.com/t/compile-error-export-failed/70536/5 "2020-09-02T23:26:13Z")

</div>

I’m running into this issue, too: this is my first time trying to compile my game, so I might be doing something wrong!

I followed @cup_half_empty’s [instructions here.](https://forum.choiceofgames.com/t/how-do-i-customize-the-stat-screen-color-scheme-like-that-of-fallen-hero-rebirth/81178/12)

- I downloaded the most recent version of ChoiceScript.
- I edited my style.css stylesheet and saved it.
- Using CSIDE, I exported my files to my /web/mygame/scenes folder, ensuring it was empty of other files first.
- I downloaded Firefox and set html files to be automatically opened by Firefox.
- I ran the compile.html file in my root folder, and it keeps popping up this error:

EXPORT FAILED  
Error: Could not open web/mygame/index.html

Does anyone know what could be causing this or how to fix it? 🙂

---

_[View the full topic](https://forum.choiceofgames.com/t/compile-error-export-failed/70536)._
