Giter Club home page Giter Club logo

miso-jswidget-example's Issues

compilation error

I ran nix-build in the root directory and got a compilation error:

Building miso-isomorphic-example-0.1.0.0...
Preprocessing executable 'server' for miso-isomorphic-example-0.1.0.0...
[1 of 2] Compiling Common           ( shared/Common.hs, dist/build/server/server-tmp/Common.dyn_o )
[2 of 2] Compiling Main             ( server/Main.hs, dist/build/server/server-tmp/Main.dyn_o )

server/Main.hs:80:9: error:
    • Couldn't match expected type ‘m3 b0 -> L.HtmlT m ()’
                  with actual type ‘L.HtmlT m2 ()’
    • The first argument of ($) takes one argument,
      but its type ‘L.HtmlT m2 ()’ has none
      In the expression:
        L.doctype_
        $ do { L.head_
               $ do { L.title_ "Miso isomorphic example";
                      L.meta_ [...];
                      .... };
               L.body_ (L.toHtml x) }
      In an equation for ‘toHtml’:
          toHtml (HtmlPage x)
            = L.doctype_
              $ do { L.head_
                     $ do { L.title_ "Miso isomorphic example";
                            .... };
                     L.body_ (L.toHtml x) }
    • Relevant bindings include
        toHtml :: HtmlPage a -> L.HtmlT m () (bound at server/Main.hs:79:5)
builder for '/nix/store/z5g8jmv8a2r6i050m3vapadzzvslli4n-miso-isomorphic-example-0.1.0.0.drv' failed with exit code 1
cannot build derivation '/nix/store/s1vdj4di6m51kg1d2b475c6cqfz3ypxp-miso-ismorphic-example.drv': 1 dependencies couldn't be built
error: build of '/nix/store/s1vdj4di6m51kg1d2b475c6cqfz3ypxp-miso-ismorphic-example.drv' failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.