This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I've got some strange behaviour: I cannot require jsonista.core
although it's in classpath:
M-x cider-classpath
...
/Users/ivan/.m2/repository/metosin/jsonista/0.3.8/jsonista-0.3.8.jar
The error says, there is something wrong with like 150 in the core namespace, but I'm not getting it.the class is imported from here https://github.com/metosin/jsonista/blob/88267219e0c1ed6397162e7737d21447e97f32d6/src/clj/jsonista/core.clj#L71C38-L71C38 That's the dep that you should check for in your classpath. Maybe a different version is being pulled?
Actually, there is something with transitive deps. I have a library X which has jsoninsta in deps, and I expected jsonista to be loaded. When I added it to the deps explicitly, everything works
It's good practice to explicitly depend on whatever you use anyway, as far as I've seen in teams 🙂 But yeah transitive dep resolution often bites, especially for java stuff like Jackson
unrelated, but do you have a link to/name for that colorscheme? the dark colors look nice on the blue (not as much of a fan of the keywords/classnames, but I'd like to give it an honest try )
ah im guessing its an emacs-native theme then
May seem like an odd question, but when i start jetty (as per https://github.com/wmealing/car/blob/main/src/catch_and_release/handler.clj the "handle" function) the cider repl no longer seems to evaluate input.. is that expected, did i do something wrong ? I did not expect the cider repl prompt to return if it was a blocking operation.
From the docs of run-jetty
:
:join? - blocks the thread until server ends
(defaults to true)
> how is one supposed to deal with that, fork off a new thread ?
In this case, just pass false
to that parameter.
Also, when adding more info to the initial post, please edit the post or post in a thread - makes it a bit easier for all the current/future readers and mods.