GithubHelp home page GithubHelp logo

Comments (6)

mike-thompson-day8 avatar mike-thompson-day8 commented on May 12, 2024

Does the demo app work okay for you? If so, then it won't be related to the locale.

I'd start by nudging the demo around so it mimics what you have in your code.

from re-com.

tuhlmann avatar tuhlmann commented on May 12, 2024

@mike-thompson-day8 The demo app works beautifully for me- no errors in the console and the datepicker shows up nicely.

Good plan about the demo. I will strip it down to only my use case...

Thanks for looking at it!

from re-com.

tuhlmann avatar tuhlmann commented on May 12, 2024

I copied all my project's dependencies into re-com's project.clj and now the demo exhibits the same problem. I'll let you know when I figure out the exact dependency causing this.

from re-com.

tuhlmann avatar tuhlmann commented on May 12, 2024

@mike-thompson-day8 Got it!
I was using [org.clojure/clojurescript "1.7.145"] in my project, that caused the problem,
As soon as I change the version you use to this one (keeping all my other dependencies) that problem appears in your app.

I did update cljs-time to "0.3.13" and the problem disappeared. The deps on your project are now:

:dependencies    
                [[org.clojure/clojure "1.7.0"]
                 [reagent "0.5.1"]
                 [org.clojure/clojurescript "1.7.145"]
                 [com.andrewmcveigh/cljs-time "0.3.13"]]

Would it be ok for you to update these dependencies?

from re-com.

mike-thompson-day8 avatar mike-thompson-day8 commented on May 12, 2024

In summary: if you use [org.clojure/clojurescript "1.7.145"] then use [com.andrewmcveigh/cljs-time "0.3.13"]

If you provide those deps in your app's project.clj, they will override the ones in re-com. So you don't need to wait for a new re-com release.

Having said that, we'll be doing a new release shortly (within a week or so) and we will include these new dependencies for the demo app.

from re-com.

tuhlmann avatar tuhlmann commented on May 12, 2024

Thank you, I got it working!

I had this setup before and it still failed, even after a lein clean.

Then I moved the cljs-time dependency below re-com and it started working. I moved it back at the previous position and it continued to work, even after clean.

Thanks for your help,
Torsten.

from re-com.

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.