From 4dad4e520aab0ea546195d89d079bcd6841f4b7c Mon Sep 17 00:00:00 2001 From: Schuyler Duveen Date: Sat, 3 Dec 2016 10:28:49 -0500 Subject: [PATCH] document issue with filesystem error and docker. fixes #517 --- docs/INSTALLING.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/INSTALLING.md b/docs/INSTALLING.md index 96beebc73..e78ce27de 100644 --- a/docs/INSTALLING.md +++ b/docs/INSTALLING.md @@ -2,7 +2,7 @@ ### Requirements -You will need to install [Docker](https://docs.docker.com/engine/installation/). +You will need to install [Docker](https://docs.docker.com/engine/installation/) with at least Docker Compose version 1.9. Here are some direct links if you're on [Mac OS X](https://docs.docker.com/docker-for-mac/) or [Windows](https://docs.docker.com/docker-for-windows/). @@ -77,6 +77,23 @@ docker-compose build docker-compose up ``` +If you see an error like this at the bottom of the output: + +```shell +== Compilation error on file lib/phoenix/token.ex == +** (CompileError) lib/phoenix/token.ex:144: Phoenix.Socket.__struct__/0 is undefined, cannot expand struct Phoenix.Socket + (stdlib) lists.erl:1354: :lists.mapfoldl/3 + + could not compile dependency :phoenix, "mix compile" failed. You can recompile this dependency with "mix deps.compile phoenix", update it with "mix deps.update phoenix" or clean it with "mix deps.clean phoenix" +``` + +Try stopping the Docker processes and then running: + +```shell +docker-compose run web mix deps.clean --all phoenix +docker-compose up +``` + ### Seed the database You'll probably want to seed the database. You can do this with the following command: