Once 0.16 installed
Installing my app's packages didn't work
elm package install
I got the following message
Error: Error reading file elm-package.json:
Problem with the `repository` field.
Upper case characters are not allowed in package names
I think it would be easier just to delete the elm-package.json file and add back all packages.
elm package install elm-lang/core
elm package install evancz/elm-html
elm package install evancz/elm-http
elm package install evancz/elm-markdown
elm package install evancz/start-app
I tried to build my program
elm make new_stories.elm
I got the following message
Success! Compiled 10 modules.
elm-make: elm-stuff/build-artifacts/0.16.0/evancz/virtual-dom/2.1.0/VirtualDom.elmo: openFile: does not exist (No such file or directory)
Maybe we should clean everything
rm -rf elm-stuff
elm make new_stories.elm
Here is the output
Good, we're a bit closer
You're curious and want to see what has changed in the elm-package.json
file? Go here
We can see that the record assignment syntax has changed
I ran into something unexpected when parsing your code!
105│ { game | past <- game.now :: game.past
^
I am looking for one of the following things:
an equals sign '='
whitespace
The message is quite explicit. I correct the source.
$ elm make new_stories.elm
Success! Compiled 1 modules.
Successfully generated index.html
Cool! Migration completed.
Hope this was helpful to you,
Thanks! VERY HELPFUL!!!!