Update README instructions for installing elm-live etc

This commit is contained in:
Richard Feldman
2018-05-01 21:01:47 -04:00
parent 783d9301c1
commit 1871cefee8

View File

@@ -16,7 +16,7 @@ Getting Started
> **Note:** Make sure not to run this command with `sudo`! If it gives you an `EACCESS` error, apply [**this fix**](https://docs.npmjs.com/getting-started/fixing-npm-permissions#option-two-change-npms-default-directory) and then re-run the command (still without `sudo`). > **Note:** Make sure not to run this command with `sudo`! If it gives you an `EACCESS` error, apply [**this fix**](https://docs.npmjs.com/getting-started/fixing-npm-permissions#option-two-change-npms-default-directory) and then re-run the command (still without `sudo`).
```shell ```shell
npm install -g elm elm-test elm-format@exp npm install -g elm@0.18.0 elm-test@0.18.12 elm-live@2.7.5 elm-format@0.7.0-exp
``` ```
You can confirm this worked by running: You can confirm this worked by running:
@@ -63,7 +63,7 @@ In the new termnal, `cd` into the `elm-workshop` directory again.
Then run this to build the Elm code for the first time: Then run this to build the Elm code for the first time:
```shell ```shell
elm make Main.elm --output=server/public/elm.js --pushstate --open elm-live Main.elm --output=server/public/elm.js --pushstate --open
``` ```
A browser should open, and you should see this in it: A browser should open, and you should see this in it: