HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
437 stars 77 forks source link

Could not find module ‘System.FilePath’ in threepenny-examples-svg #203

Closed amigalemming closed 6 years ago

amigalemming commented 6 years ago

Just encountered with GHC-8.2.2:

Preprocessing executable 'threepenny-examples-svg' for threepenny-gui-0.8.2.0..
Building executable 'threepenny-examples-svg' for threepenny-gui-0.8.2.0..
[1 of 3] Compiling Main             ( samples/Svg.hs, dist/build/threepenny-examples-svg/threepenny-examples-svg-tmp/Main.o )
[2 of 3] Compiling Paths_threepenny_gui ( dist/build/threepenny-examples-svg/autogen/Paths_threepenny_gui.hs,
dist/build/threepenny-examples-svg/threepenny-examples-svg-tmp/Paths_threepenny_gui.o )
[3 of 3] Compiling Paths            ( samples/Paths.hs, dist/build/threepenny-examples-svg/threepenny-examples-svg-tmp/Paths.o )

samples/Paths.hs:5:1: error:
    Could not find module ‘System.FilePath’
    Use -v to see a list of the files searched for.
  |
5 | import System.FilePath
  | ^^^^^^^^^^^^^^^^^^^^^^
Failed to install threepenny-gui-0.8.2.0
HeinrichApfelmus commented 6 years ago

Thanks for reporting! It should be fixed in the latest commit.