From 3fdf641747ec3373a51f777a0d61a1e2abb3cdf7 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 6 Mar 2016 17:56:25 -0500 Subject: [PATCH] Add a comment about needed a certain version of nodejs and possibly needing happy installed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13905c25ca..954e62b634 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Setting phasers to stun... (port 8080) (ctrl-c to quit) That last message is [Scotty](http://hackage.haskell.org/package/scotty) telling you it's running. That means you're good. -To build the editor, do: `cd editor` from the root directory, then do `stack build`. The editor is built using GHCJS. You can symlink the generated Javascript files by performing a `ln -s $(stack path --local-install-root)/bin .` in the `editor` directory. +To build the editor, ensure you have nodejs installed to version lower than `0.11`. After that, do: `cd editor` from the root directory, then do `stack build`. If you get a warning about missing happy, try `stack build happy`. The editor is built using GHCJS. You can symlink the generated Javascript files by performing a `ln -s $(stack path --local-install-root)/bin .` in the `editor` directory. These instructions do not work on Windows as far as I know (this might be fixable, contact me if interested), but if you're on Windows or just prefer to build the code on a known-good VM, use the [Vagrant box setup](#vagrant) after reading through these instructions. If you go this route, you can still use your preferred text editor. The VM will have shared filesystem access to the directory where you've checked out the code.