luminus

rnandan273 2019-06-18T08:32:35.021100Z

Help with shadow-cljs. I have created a luminus app with +shadow-cljs profile. When i run the command lein shadow watch app. i get an error saying Exception in thread "main" java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerator.writeStartObject(Ljava/lang/Object;)V at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:626)

rnandan273 2019-06-18T08:32:44.021400Z

Any ideas to resolve this

rnandan273 2019-06-18T08:33:08.022Z

anybody encountered such a shadow-cjs error

Justin Duncan 2019-06-18T12:23:17.023800Z

Hey all, would it be ok to ask a continuous integration question here? It’s specific to Luminus and CircleCi

yogthos 2019-06-18T18:55:55.024Z

it sounds like there's a dependency conflict, you might want to check if you have any plugins in your ~/.lein/profiles.clj that might be causing the issue

yogthos 2019-06-18T18:56:15.024400Z

sure yeah

Justin Duncan 2019-06-18T19:17:55.026800Z

I have a test-config.edn file that I need for my tests to work but the file itself says I shouldn’t push to my git repository. This is fine until I introduced Ci and now I am unsure how to get my tests to run without pushing the test-config.edn file to github. Any ideas how to get ci to work with luminous without pushing this file?

yogthos 2019-06-19T12:52:40.033800Z

Oh I would check the test-config.edn in if you are using it for CI, you can just remove it from .gitignore.

Justin Duncan 2019-06-19T14:00:43.035600Z

ok, I didn’t know if it would be a big deal. I was concerned that the config file would eventually have login credentials? I don’t know much yet about this file, I just read the comments it had inside and became a bit worried. Thanks for the feedback.

yogthos 2019-06-20T13:00:52.042500Z

👍

romain 2019-06-18T23:14:19.026900Z

@yogthos in the case you missed it 😊

yogthos 2019-06-18T23:59:00.027100Z

Hi, I think Integrant is interesting, but personally I prefer mount. I find mount has two big advantages. First is that it leverages namespace hierarchy, so you don't have to manage state relationships by hand. Second is that it facilitates easily reloading things at runtime, e.g: https://github.com/tolitius/hubble

1👍