In attempting the `elm make` call in part received this error:
-- CORRUPT CACHE ---------------------------------------------------------------
I ran into an unknown package while exploring dependencies:
NoRedInk/json-decode-pipeline
This suggests that your /Users/{UserName}/.elm directory has been corrupted.
Maybe some program is messing with it? It is just cached files, so you can
delete it and see if that fixes the issue.
The names of two of the modules appear to have changed for 0.19. This is
currently updated in the solutions branch but not the exercises branch.
Feel free to delete this if it doesn't fit into your workflow workflow.
It seemed nicest to open this as PR in case anyone else ran into the same
issue and is looking for answers.
This workshop is licensed under a Creative Commons Attribution 4.0 International License. The server/ directories use moleculer-node-realworld-example, which has its own license. The JavaScript interop example uses localForage, which is (c) 2013-2017 Mozilla, under the Apache License 2.0. The rest of the code is a variation on elm-spa-example, an MIT-licensed implementation of the realworld front-end. Many thanks to the authors of these projects!
Getting Started
-
Install Node.js 7.0.0 or higher
-
Add a plugin for your editor of choice: Atom, Sublime Text, VS Code, Light Table, Vim, Emacs, Brackets
-
Not required, but highly recommended: enable "
elm-formaton save" in your editor. -
Run the following command to install all the other Elm tools:
Note: Make sure not to run this command with
sudo! If it gives you anEACCESSerror, apply this fix and then re-run the command (still withoutsudo).
npm install -g elm-test@beta elm-format@rc
- Clone this repository
Run this at the terminal:
git clone https://github.com/rtfeldman/elm-0.19-workshop.git
cd elm-0.19-workshop