Skip to content

Can't get back to previous configuration. #464

Closed
@dschalk

Description

@dschalk

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:
d@D:/websockets-react$ cabal configure
Resolving dependencies...
Configuring websockets-react-0.1.0.0...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package aeson-0.8.0.2 requires mtl-2.1.3.1
package websockets-0.9.5.0 requires mtl-2.2.1
package resourcet-1.1.5 requires mtl-2.2.1
package exceptions-0.8.0.2 requires mtl-2.2.1
package conduit-1.2.4.2 requires mtl-2.2.1
package conduit-extra-1.1.9 requires primitive-0.5.4.0
package vector-0.10.12.3 requires primitive-0.6
package primitive-0.6 requires transformers-0.3.0.0
package mtl-2.1.3.1 requires transformers-0.3.0.0
package wai-websockets-3.0.0.5 requires transformers-0.4.2.0
package wai-extra-3.0.7.1 requires transformers-0.4.2.0
package wai-app-static-3.1.0 requires transformers-0.4.2.0
package transformers-compat-0.4.0.4 requires transformers-0.4.2.0
package transformers-base-0.4.4 requires transformers-0.4.2.0
package streaming-commons-0.1.12.1 requires transformers-0.4.2.0
package resourcet-1.1.5 requires transformers-0.4.2.0
package optparse-applicative-0.11.0.2 requires transformers-0.4.2.0
package mtl-2.2.1 requires transformers-0.4.2.0
package monad-control-1.0.0.4 requires transformers-0.4.2.0
package mmorph-1.0.4 requires transformers-0.4.2.0
package exceptions-0.8.0.2 requires transformers-0.4.2.0
package cryptohash-conduit-0.1.1 requires transformers-0.4.2.0
package conduit-extra-1.1.9 requires transformers-0.4.2.0
package conduit-1.2.4.2 requires transformers-0.4.2.0
package websockets-react-0.1.0.0 requires transformers-0.4.3.0
d@D:
/websockets-react$
When I enter 'runghc Main', I get this:
Main.hs:15:18:
Could not find module ‘Network.Wai.Handler.WebSockets’
Use -v to see a list of the files searched for.

Main.hs:16:18:
Could not find module ‘Network.Wai.Application.Static’
Use -v to see a list of the files searched for.
d@D:/websockets-react$
When I then enter 'cabal install wai-websockets', I get:
Resolving dependencies...
All the requested packages are already installed:
wai-websockets-3.0.0.5
Use --reinstall if you want to reinstall anyway.
d@D:
/websockets-react$
Reinstalling doesn't help.
The command 'cabal build' causes my processor to go bananas until I can't stand it and enter 'CTR-c'.
My 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions