-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to compile #24
Comments
I also had a problem building with no instance of eq jsstring a while back, then gave up. |
I did some hacking on this repo nearly a year ago and this error rings a bell. There's a good chance you'll need to just fix it yourself. Fortunately you're barely even in the first circle of cabal hell, because there's only one package left to install, and it's (only slightly) broken rather than the dependency structure. Good luck! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$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:
Maybe this is the report from Cabal hell? I am trying different versions and the result is the same.
The text was updated successfully, but these errors were encountered: