evancz / elm-architecture-tutorial

How to create modular Elm code that scales nicely with your app
https://guide.elm-lang.org/
BSD 3-Clause "New" or "Revised" License
4.17k stars 738 forks source link

Could not find package elm-lang/core #104

Closed sea-witch closed 7 years ago

sea-witch commented 7 years ago

I follow the instructions:

git clone https://github.com/evancz/elm-architecture-tutorial.git
cd elm-architecture-tutorial
elm-reactor

The dev server runs and the home page loads fine. But when I go to an example, I see an error. For instance, http://localhost:8000/examples/01-button.elm shows the following:

Could not find package elm-lang/core.

Maybe your elm-stuff/ directory has been corrupted? You can usually fix stuff
like this by deleting elm-stuff/ and rebuilding your project.

I tried deleting elm-stuff and running elm-reactor again with the same result.

process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

sea-witch commented 7 years ago

I just realized what it was. I was running an older version of Elm. After updating everything works fine.