fpco / ghcjs-react

React bindings for GHCJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I am getting following error when trying to compile the examples

rpaladugu1 opened this issue · comments

Basically same error message as above but I have not used sandbox for building the examples.
I have installed successfully the following packages:
ghcjs-dom-0.1.1.3
ghcjs-jquery-0.1.0.0
ghcjs-react-0.0.0
If I query "ghcjs-pkg describe ghcjs-react" i get the following exposed modules for ghcjs-react:
exposed-modules: React React.Internal React.Event React.Component
React.Builder React.Lucid GHCJS.Compat

Actual command used for compile: ghcjs -iexamples/ -isrc/ examples/Main.hs
Error messages:
examples/Main.hs:12:8:
Could not find module ‘React.Ace’
Use -v to see a list of the files searched for.

examples/Main.hs:15:8:
Could not find module ‘React.Ref’
Use -v to see a list of the files searched for.

Ah, I need to update examples. Hold on.

I fixed the build, but discovered other issues on the way. I may have to discuss this with luite, as it's rather odd.

Ok. Thanks. Confirming compile error fixed.