{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/464","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/464/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/464/events","html_url":"https://github.com/commercialhaskell/stack/issues/464","id":92202505,"number":464,"title":"Can't get back to previous configuration.","user":{"login":"dschalk","id":2214003,"avatar_url":"https://avatars.githubusercontent.com/u/2214003?v=3","gravatar_id":"","url":"https://api.github.com/users/dschalk","html_url":"https://github.com/dschalk","followers_url":"https://api.github.com/users/dschalk/followers","following_url":"https://api.github.com/users/dschalk/following{/other_user}","gists_url":"https://api.github.com/users/dschalk/gists{/gist_id}","starred_url":"https://api.github.com/users/dschalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschalk/subscriptions","organizations_url":"https://api.github.com/users/dschalk/orgs","repos_url":"https://api.github.com/users/dschalk/repos","events_url":"https://api.github.com/users/dschalk/events{/privacy}","received_events_url":"https://api.github.com/users/dschalk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-06-30T21:18:29Z","updated_at":"2015-07-01T01:40:11Z","closed_at":null,"body":"I tried stack and couldn't make it work so I removed the .stack directory and everything stack in my application directory. I even brought back my latest Github update to make sure. When I enter 'cabal configure, I get this:\r\nd@D:~/websockets-react$ cabal configure\r\nResolving dependencies...\r\nConfiguring websockets-react-0.1.0.0...\r\nWarning: This package indirectly depends on multiple versions of the same\r\npackage. This is highly likely to cause a compile failure.\r\npackage aeson-0.8.0.2 requires mtl-2.1.3.1\r\npackage websockets-0.9.5.0 requires mtl-2.2.1\r\npackage resourcet-1.1.5 requires mtl-2.2.1\r\npackage exceptions-0.8.0.2 requires mtl-2.2.1\r\npackage conduit-1.2.4.2 requires mtl-2.2.1\r\npackage conduit-extra-1.1.9 requires primitive-0.5.4.0\r\npackage vector-0.10.12.3 requires primitive-0.6\r\npackage primitive-0.6 requires transformers-0.3.0.0\r\npackage mtl-2.1.3.1 requires transformers-0.3.0.0\r\npackage wai-websockets-3.0.0.5 requires transformers-0.4.2.0\r\npackage wai-extra-3.0.7.1 requires transformers-0.4.2.0\r\npackage wai-app-static-3.1.0 requires transformers-0.4.2.0\r\npackage transformers-compat-0.4.0.4 requires transformers-0.4.2.0\r\npackage transformers-base-0.4.4 requires transformers-0.4.2.0\r\npackage streaming-commons-0.1.12.1 requires transformers-0.4.2.0\r\npackage resourcet-1.1.5 requires transformers-0.4.2.0\r\npackage optparse-applicative-0.11.0.2 requires transformers-0.4.2.0\r\npackage mtl-2.2.1 requires transformers-0.4.2.0\r\npackage monad-control-1.0.0.4 requires transformers-0.4.2.0\r\npackage mmorph-1.0.4 requires transformers-0.4.2.0\r\npackage exceptions-0.8.0.2 requires transformers-0.4.2.0\r\npackage cryptohash-conduit-0.1.1 requires transformers-0.4.2.0\r\npackage conduit-extra-1.1.9 requires transformers-0.4.2.0\r\npackage conduit-1.2.4.2 requires transformers-0.4.2.0\r\npackage websockets-react-0.1.0.0 requires transformers-0.4.3.0\r\nd@D:~/websockets-react$ \r\nWhen I enter 'runghc Main', I get this:\r\nMain.hs:15:18:\r\n    Could not find module ‘Network.Wai.Handler.WebSockets’\r\n    Use -v to see a list of the files searched for.\r\n\r\nMain.hs:16:18:\r\n    Could not find module ‘Network.Wai.Application.Static’\r\n    Use -v to see a list of the files searched for.\r\nd@D:~/websockets-react$ \r\nWhen I then enter 'cabal install wai-websockets', I get:\r\nResolving dependencies...\r\nAll the requested packages are already installed:\r\nwai-websockets-3.0.0.5\r\nUse --reinstall if you want to reinstall anyway.\r\nd@D:~/websockets-react$ \r\nReinstalling doesn't help.\r\nThe command 'cabal build' causes my processor to go bananas until I can't stand it and enter 'CTR-c'.\r\nMy next stop will probably be to remove Cabal and reinstalling it, but don't see why that would work. By the way, I have been using Hackage. I ran cabal update during all of this and it seemed to install things rather than report that all is up to date.\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/117388108","html_url":"https://github.com/commercialhaskell/stack/issues/464#issuecomment-117388108","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/464","id":117388108,"user":{"login":"drwebb","id":178769,"avatar_url":"https://avatars.githubusercontent.com/u/178769?v=3","gravatar_id":"","url":"https://api.github.com/users/drwebb","html_url":"https://github.com/drwebb","followers_url":"https://api.github.com/users/drwebb/followers","following_url":"https://api.github.com/users/drwebb/following{/other_user}","gists_url":"https://api.github.com/users/drwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/drwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drwebb/subscriptions","organizations_url":"https://api.github.com/users/drwebb/orgs","repos_url":"https://api.github.com/users/drwebb/repos","events_url":"https://api.github.com/users/drwebb/events{/privacy}","received_events_url":"https://api.github.com/users/drwebb/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T01:40:11Z","updated_at":"2015-07-01T01:40:11Z","body":"It looks like you are on GHC 7.10 already, so try `rm stack.yaml, and then `stack init --prefer-nightly` followed by a `stack build`"}}