# Is my install of elm-app broken?

**URL:** <https://discourse.elm-lang.org/t/is-my-install-of-elm-app-broken/6421>\
**Category:** Learn\
**Created:** [October 21, 2020, 9:20am UTC](https://discourse.elm-lang.org/t/is-my-install-of-elm-app-broken/6421 "2020-10-21T09:20:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NiavlysB](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/niavlysb/32/3570_2.png) [@NiavlysB](https://discourse.elm-lang.org/u/NiavlysB)\
**Post date:** [October 21, 2020, 9:20am UTC](https://discourse.elm-lang.org/t/is-my-install-of-elm-app-broken/6421/1 "2020-10-21T09:20:49Z")

</div>

Since yesterday my Elm app (created with create-elm-app) refuses to compile, with an unusually unhelpful message:

> Failed to compile
> 
> ```auto
> ./src/Main.elmError: Compiler process exited with error Compilation failed
> 
> ```
> 
> This error occurred during the build time and cannot be dismissed.

It worked fine the last time I worked on it. (I had a cyclic dependency issue on one of my branches. Now, all of my branches won’t compile, with the same generic error message.

The same error occurs using either `elm-app start` or `elm-app build`. What happened?

It doesn’t seem to have anything to do with the code itself, but just in case: [https://gitlab.com/NiavlysB/where-s-my-char](https://gitlab.com/NiavlysB/where-s-my-char) (also it’s a few commits behind my local repo)

---

<div class="post-metadata">

**Author:** ![NiavlysB](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/niavlysb/32/3570_2.png) [@NiavlysB](https://discourse.elm-lang.org/u/NiavlysB)\
**Post date:** [October 21, 2020, 9:30am UTC](https://discourse.elm-lang.org/t/is-my-install-of-elm-app-broken/6421/2 "2020-10-21T09:30:23Z")

</div>

PS: At the same time, Sublime’s “Elm format on save” plugin seemed to be broken in a dangerous way, completely emptying any Elm file I would try to save… I disabled the plugin and it fixed the problem. I would think there’s no relation with the main issue I mentioned here, but just in case, I thought I should mention it as well.

---

<div class="post-metadata">

**Author:** ![pdamoc](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/pdamoc/32/36_2.png) [@pdamoc](https://discourse.elm-lang.org/u/pdamoc)\
**Post date:** [October 21, 2020, 12:12pm UTC](https://discourse.elm-lang.org/t/is-my-install-of-elm-app-broken/6421/3 "2020-10-21T12:12:29Z")

</div>

> [@NiavlysB](#):
>
> [https://gitlab.com/NiavlysB/where-s-my-char](https://gitlab.com/NiavlysB/where-s-my-char) (also it’s a few commits behind my local repo)

This link is broken. It throws a 404 error.

> [@NiavlysB](#):
>
> Sublime’s “Elm format on save” plugin seemed to be broken in a dangerous way, completely emptying any Elm file I would try to save

I’ve been using this plugin since May without any issues. Maybe it is the interaction with some other plugins that you have.

---

<div class="post-metadata">

**Author:** ![NiavlysB](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/niavlysb/32/3570_2.png) [@NiavlysB](https://discourse.elm-lang.org/u/NiavlysB)\
**Post date:** [October 21, 2020, 2:20pm UTC](https://discourse.elm-lang.org/t/is-my-install-of-elm-app-broken/6421/4 "2020-10-21T14:20:42Z")

</div>

Oh sorry, the repo is private actually, I completely forgot about that!

Anyway, problem fixed now! I just ran `yarn global upgrade create-elm-app`, and all is well now. `create-elm-app` was apparently broken in my environment since it was also unable to create new projects.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [October 31, 2020, 2:20pm UTC](https://discourse.elm-lang.org/t/is-my-install-of-elm-app-broken/6421/5 "2020-10-31T14:20:46Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
