{"action":"created","issue":{"url":"https://api.github.com/repos/evancz/elm-architecture-tutorial/issues/32","labels_url":"https://api.github.com/repos/evancz/elm-architecture-tutorial/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/evancz/elm-architecture-tutorial/issues/32/comments","events_url":"https://api.github.com/repos/evancz/elm-architecture-tutorial/issues/32/events","html_url":"https://github.com/evancz/elm-architecture-tutorial/issues/32","id":106778079,"number":32,"title":"Start one server for all examples?","user":{"login":"flip111","id":2244480,"avatar_url":"https://avatars.githubusercontent.com/u/2244480?v=3","gravatar_id":"","url":"https://api.github.com/users/flip111","html_url":"https://github.com/flip111","followers_url":"https://api.github.com/users/flip111/followers","following_url":"https://api.github.com/users/flip111/following{/other_user}","gists_url":"https://api.github.com/users/flip111/gists{/gist_id}","starred_url":"https://api.github.com/users/flip111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flip111/subscriptions","organizations_url":"https://api.github.com/users/flip111/orgs","repos_url":"https://api.github.com/users/flip111/repos","events_url":"https://api.github.com/users/flip111/events{/privacy}","received_events_url":"https://api.github.com/users/flip111/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-16T13:51:50Z","updated_at":"2015-09-16T21:13:49Z","closed_at":"2015-09-16T21:13:49Z","body":"I thought i could be smart and start the server from the `examples` directory, so i can just browse to the individual examples. However the dependencies of program can not be found (even if stuff had been downloaded before). For example 1:\r\n\r\n``\r\nError when searching for modules imported by module 'Main':\r\n    Could not find module 'Counter'\r\n\r\nPotential problems could be:\r\n  * Misspelled the module name\r\n  * Need to add a source directory or new dependency to elm-package.json\r\n```\r\n\r\nAlso when example 2 tries to download stuff:\r\n```\r\nDownloading elm-lang/core\r\nelm-make: elm-lang-core-5204441: rename: unsatisified constraints (Directory not empty)\r\n```"},"comment":{"url":"https://api.github.com/repos/evancz/elm-architecture-tutorial/issues/comments/140896871","html_url":"https://github.com/evancz/elm-architecture-tutorial/issues/32#issuecomment-140896871","issue_url":"https://api.github.com/repos/evancz/elm-architecture-tutorial/issues/32","id":140896871,"user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T21:13:49Z","updated_at":"2015-09-16T21:13:49Z","body":"Yeah, you cannot do that. You need to run the reactor from within `examples/1/` where the `elm-package.json` file lives. The problem is that different examples have modules with the same name. So it just does not work to think of them as a single project."}}