# Create Elm App is giving errors

**URL:** <https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320>\
**Category:** Learn\
**Created:** [March 15, 2020, 9:49pm UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320 "2020-03-15T21:49:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victory\_Okhormhe](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/victory_okhormhe/32/3044_2.png) [@Victory\_Okhormhe](https://discourse.elm-lang.org/u/Victory_Okhormhe)\
**Post date:** [March 15, 2020, 9:49pm UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320/1 "2020-03-15T21:49:08Z")

</div>

Please I need help, I am trying to run install ation for Create Elm app…

npm install create-elm-app -g. is giving me errors at the end.

 ![IMG_20200315_125656](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/2X/8/83db567cd3c35df7b984d6aa1fa7398293b9ab73.jpeg)

---

<div class="post-metadata">

**Author:** ![ChrisWellsWood](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/chriswellswood/32/5293_2.png) [@ChrisWellsWood](https://discourse.elm-lang.org/u/ChrisWellsWood)\
**Post date:** [March 16, 2020, 12:06pm UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320/2 "2020-03-16T12:06:20Z")

</div>

Welcome @Victory_Okhormhe! Not too familiar with using NPM on Windows, could it be a permission problem with using the `-g` flag?

---

<div class="post-metadata">

**Author:** ![Victory\_Okhormhe](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/victory_okhormhe/32/3044_2.png) [@Victory\_Okhormhe](https://discourse.elm-lang.org/u/Victory_Okhormhe)\
**Post date:** [March 17, 2020, 6:09pm UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320/3 "2020-03-17T18:09:19Z")

</div>

From the error i got, the installation failed at elmi-to-json@1.3.0 install script

```
elmi-to-json@1.3.0 install
```

---

<div class="post-metadata">

**Author:** ![Niklasja](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Niklasja](https://discourse.elm-lang.org/u/Niklasja)\
**Post date:** [March 18, 2020, 4:13am UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320/4 "2020-03-18T04:13:10Z")

</div>

This might be a stupid question (I apologize in advance);  
Have you retried this action since you posted?

Based on the background in your screenshot, it might look like you lost your internet connection…? I’m referring to the “DNS\_PROBE\_FINISHED\_NO\_INTERNET” and the “No intern…” text to the bottom-left of your CMD-prompt. This could be the root-cause of “no such file or directory” in the log.

---

<div class="post-metadata">

**Author:** ![Victory\_Okhormhe](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/victory_okhormhe/32/3044_2.png) [@Victory\_Okhormhe](https://discourse.elm-lang.org/u/Victory_Okhormhe)\
**Post date:** [March 18, 2020, 8:46am UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320/5 "2020-03-18T08:46:00Z")

</div>

No It was after the installation failed, I disconnected my internet, I was trying to screenshot so when I accidentally reloaded my browser, it showed the No Internet page.

---

<div class="post-metadata">

**Author:** ![hpate](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/hpate/32/2094_2.png) [@hpate](https://discourse.elm-lang.org/u/hpate)\
**Post date:** [March 18, 2020, 1:07pm UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320/6 "2020-03-18T13:07:03Z")

</div>

There should details of what the error was earlier in the log, could you post that log file it lists as the bottom (the `2020-03-13T21_42_48_093Z-debug.log` file)?

Also, what version of node is the machine running?

---

<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:** [March 28, 2020, 1:07pm UTC](https://discourse.elm-lang.org/t/create-elm-app-is-giving-errors/5320/7 "2020-03-28T13:07:13Z")

</div>

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