Skip to content

Failed to compile #24

Description

@obcan

$cabal install ./react-haskell
Resolving dependencies...
Configuring react-haskell-2.0.1...
Building react-haskell-2.0.1...
Failed to install react-haskell-2.0.1
Build log ( /home/mule/.cabal/logs/react-haskell-2.0.1.log ):
Configuring react-haskell-2.0.1...
Building react-haskell-2.0.1...
Preprocessing library react-haskell-2.0.1...
[14 of 15] Compiling React.Events ( src/React/Events.hs, dist/build/React/Events.o )

src/React/Events.hs:197:31:
No instance for (Eq JSString) arising from the literal ‘"Enter"’
In the pattern: "Enter"
In the pattern: KeyboardEvent {key = "Enter"}
In an equation for ‘handler’:
handler (KeyboardEvent {key = "Enter"}) = Just s
cabal: Error: some packages failed to install:
react-haskell-2.0.1 failed during the building phase. The exception was:
ExitFailure 1

Ghc version:
7.10.2

Cabal version:
1.22.6.0

Installed versions of packeges which react-haskell depends:

  • base 4.8.1.0
  • transformers 0.4.2.0
  • monads-tf 0.1.0.2
  • deepseq 1.4.1.1
  • lens-family 1.2.0
  • void 0.7, 0.7.1
  • aeson 0.9.0.1, 0.10.0.0
  • text 1.2.0.3
  • unordered-containers 0.2.5.1

Maybe this is the report from Cabal hell? I am trying different versions and the result is the same.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions