Giter Site home page Giter Site logo

Comments (4)

malte-v avatar malte-v commented on June 9, 2024

https://github.com/reflex-frp/reflex-dom/blob/develop/reflex-dom-core/src/Reflex/Dom/Prerender.hs#L208

No idea what that $dmnow thing in the error message is. Adding MonadHold t m to the context doesn't seem like a solution...

from reflex-dom.

3noch avatar 3noch commented on June 9, 2024

Permalink:

instance Monad m => MonadHold t (UnrunnableT js t m) where

Are you using reflex-platform to build?

from reflex-dom.

malte-v avatar malte-v commented on June 9, 2024

I'm using stack with recent revisions of reflex and reflex-dom:

resolver: lts-16.2

extra-deps:
- packages/servant-reflex
- packages/servant-router
- git: https://github.com/ghcjs/jsaddle.git
  commit: d569be43f92b9b8c01dc3ee4c41401ab406a2076
  subdirs:
  - jsaddle
  - jsaddle-warp
# TODO: Go back to original repo when https://github.com/bgamari/monoidal-containers/pull/63 has been merged
- git: https://github.com/ocharles/monoidal-containers.git
  commit: ca1ef686a165bf1915d4acdc559849011593f29e
- git: https://github.com/reflex-frp/patch.git
  commit: 7551cf19bb705a6d003df2fdd594c3d1414ea02e
- git: https://github.com/reflex-frp/reflex
  commit: 41add8546127f60531cb07777062a454446b935e
- git: https://github.com/reflex-frp/reflex-dom
  commit: 0261ab7a1358e93c375844c753bcc89d6ec080dd
  subdirs:
  - reflex-dom
  - reflex-dom-core
- constraints-0.11.2@sha256:d028005d93f891b48b61ff0c82c6f868859eb728010dea3e355b0c55d0f57cf9,2219
- constraints-extras-0.3.0.2@sha256:bf6884be65958e9188ae3c9e5547abfd6d201df021bff8a4704c2c4fe1e1ae5b,1784
- dependent-map-0.3.1.0@sha256:f33391e51264aab38b11d581bb8d2f7c6fc9fcf012bdbb6122708c23b3360b2a,1657
- dependent-sum-0.7.1.0@sha256:5599aa89637db434431b1dd3fa7c34bc3d565ee44f0519bfbc877be1927c2531,2068
- dependent-sum-template-0.1.0.3@sha256:0bbbacdfbd3abf2a15aaf0cf2c27e5bdd159b519441fec39e1e6f2f54424adde,1682
- ghcjs-dom-0.9.4.0@sha256:c2b3d25145e24b66a8a5078c0d750305b577aeff05957cf282d74f6e8d2424dd,32082
- ghcjs-dom-jsaddle-0.9.4.0@sha256:31ddfc5ebcbb4811b0c956fd5fcf106643012b46bb4e0bc2f15d09db1d116fbb,39525
- jsaddle-dom-0.9.4.0@sha256:e9557e5a6df02bf089acab3e053ee3d4b523acebfe9ede9b5091d12cee760780,75700
- prim-uniq-0.2@sha256:7bfd8a729812bf212610b63459b76a086ecd5ce48f48d785c288e082d055d47b,1403
- ref-tf-0.4.0.2@sha256:69de3550250e0cd69f45d080359cb314a9487c915024349c75b78732bbee9332,1134
- witherable-0.3.5@sha256:6590a15735b50ac14dcc138d4265ff1585d5f3e9d3047d5ebc5abf4cd5f50084,1476
- zenc-0.1.1@sha256:e4be3e5e9fe1a1ade05910909c6e5b5a8eff72e697868b03955c9781b0443947,964

Sorry, should have mentioned that. Obviously the versions in my first comment aren't very useful information.

from reflex-dom.

malte-v avatar malte-v commented on June 9, 2024

I think the problem was the missing now equation in the MonadHold t (UnrunnableT js t m) instance. #397 should fix this.

from reflex-dom.

Related Issues (20)

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.