(Deleted) CodeWorld fails to build with errors in Driver.hs


61
views
0
8 months ago by

I am trying to build the CodeWorld project. I'm getting errors in the src/CodeWorld/Driver.hs file.

I ran install.sh and now build.sh

 

Preprocessing library codeworld-api-0.2.0.0...
[5 of 6] Compiling CodeWorld.Driver ( src/CodeWorld/Driver.hs, dist/build/CodeWorld/Driver.js_o )

src/CodeWorld/Driver.hs:399:15: error:
    Not in scope: ‘Window.resize’
    Perhaps you meant one of these:
      ‘Window.resizeBy’ (imported from GHCJS.DOM.Window),
      ‘Window.resizeTo’ (imported from GHCJS.DOM.Window)
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘resize’.

src/CodeWorld/Driver.hs:708:15: error:
    Not in scope: ‘Window.keyDown’
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘keyDown’.

src/CodeWorld/Driver.hs:715:15: error:
    Not in scope: ‘Window.keyUp’
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘keyUp’.

src/CodeWorld/Driver.hs:722:15: error:
    Not in scope: ‘Window.mouseDown’
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘mouseDown’.

src/CodeWorld/Driver.hs:729:15: error:
    Not in scope: ‘Window.mouseUp’
    Perhaps you meant one of these:
      ‘Window.moveBy’ (imported from GHCJS.DOM.Window),
      ‘Window.moveTo’ (imported from GHCJS.DOM.Window)
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘mouseUp’.

src/CodeWorld/Driver.hs:736:15: error:
    Not in scope: ‘Window.mouseMove’
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘mouseMove’.

src/CodeWorld/Driver.hs:927:15: error:
    Not in scope: ‘Window.resize’
    Perhaps you meant one of these:
      ‘Window.resizeBy’ (imported from GHCJS.DOM.Window),
      ‘Window.resizeTo’ (imported from GHCJS.DOM.Window)
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘resize’.

src/CodeWorld/Driver.hs:972:15: error:
    Not in scope: ‘Window.resize’
    Perhaps you meant one of these:
      ‘Window.resizeBy’ (imported from GHCJS.DOM.Window),
      ‘Window.resizeTo’ (imported from GHCJS.DOM.Window)
    Module ‘ghcjs-dom-jsffi-0.8.0.0:GHCJS.DOM.JSFFI.Window’ does not export ‘resize’.
cabal: Leaving directory './codeworld-api'
cabal: Error: some packages failed to install:
codeworld-api-0.2.0.0 failed during the building phase. The exception was:
ExitFailure 1
codeworld-base-0.2.0.0 depends on codeworld-api-0.2.0.0 which failed to
install.
============================
= Aborting: Command failed =
============================
Community: CodeWorld

1 Answer


0
8 months ago by

Thanks for the report.  I have copied it to https://github.com/google/codeworld/issues/461.  Let's continue this on github.  This allanswered community is for questions by kids using the web site.

Please login to add an answer/comment or follow this question.
The thread is closed. No new answer/comment may be added.

Similar posts:
Search »
  • Nothing matches yet.