Coder Social home page Coder Social logo

Comments (17)

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Hello @jobez. Do you have more information about this particular issue? What do you mean when you say you are unable to depend on the library? The library does not load, its code break, you cannot define it as a dependency?

I will soon update the version of clojurescript used by the library but I am not sure it would fix your issue.

from clj-fuzzy.

jobez avatar jobez commented on June 18, 2024

Hi! When I try to require the library from clojurescript, the cljs compiler throws up an error that the namespace could not be found. I can get you some screenshots in the morning.

from clj-fuzzy.

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Screenshot or code would be nice indeed :). I'll try to reproduce the issue on my side in the mean time.

from clj-fuzzy.

jobez avatar jobez commented on June 18, 2024

screenshot 2015-04-20 09 05 02
dependency in boot project
screenshot 2015-04-20 09 06 48
requirement in cljs ns
screenshot 2015-04-20 09 03 50
result in cljs compilation

from clj-fuzzy.

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Can you try to register your dependency as:

[[clj-fuzzy/clj-fuzzy "0.2.1"]]

and tell me whether it changes anything?

Is your code sensitive? If not, is this possible to have some link towards it so I can test myself. It's kinda hard to guess anything from screenshots.

from clj-fuzzy.

jobez avatar jobez commented on June 18, 2024

let me make a little repo trying to reproduce the issue for you.

from clj-fuzzy.

jobez avatar jobez commented on June 18, 2024

https://github.com/jobez/clj-fuzzy-cljs-dep-repro thanks for the responsiveness i appreciate it :)

from clj-fuzzy.

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Well I tried some things but I am a bit clueless here. Could you point me towards a library you use in clojurescript and that work for you in the same context so I can assess whether there is something wrong with the way I organize my files?

from clj-fuzzy.

jobez avatar jobez commented on June 18, 2024

i'll have to do some googling, but here's an example of a library using cljx (i realize this isnt the exact same context as this library):

https://github.com/Prismatic/plumbing

and another library using the new reader conditionals set to be released in clojure 1.7.0:

https://github.com/LonoCloud/synthread

from clj-fuzzy.

jobez avatar jobez commented on June 18, 2024

I think the issue is that the crossovers feature you are using in cljs-build has been depreciated.

https://github.com/emezeske/lein-cljsbuild/blob/master/doc/CROSSOVERS.md

from clj-fuzzy.

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Yes indeed. I am not literate in boot but would it be possible to tell boot to hit the .clj files from src rather than attempting to reach the ClojureScript ones?

from clj-fuzzy.

jobez avatar jobez commented on June 18, 2024

So I made a branch with a partially-almost-completed version of clj-fuzzy that uses .cljc reader conditionals here: https://github.com/jobez/clj-fuzzy/tree/cljc

I had some weird issues using cljsbuild, so I tried using the boot build tool instead and it just worked.

from clj-fuzzy.

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Hello @jobez, I switched to .cljc files and to 1.7 feature expressions. Could you please check whether this works for you now please (if this is still relevant for you and if I am not too late)?

from clj-fuzzy.

jindrichmynarz avatar jindrichmynarz commented on June 18, 2024

Switching to a local checkout of 2faf217 allows me to use the library from Clojurescript. It seems that it fixes this issue.

from clj-fuzzy.

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Cool. I should probably release a new version then, now that clojure 1.7 is stable.

from clj-fuzzy.

jindrichmynarz avatar jindrichmynarz commented on June 18, 2024

Yes, putting a new release out would be great.

from clj-fuzzy.

Yomguithereal avatar Yomguithereal commented on June 18, 2024

Version 0.3.0 is now online. I'll close this then.

from clj-fuzzy.

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.