Fork me on GitHub
#luminus
<
2019-06-18
>
rnandan27308:06:35

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)

yogthos18:06:55

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

rnandan27308:06:44

Any ideas to resolve this

rnandan27308:06:08

anybody encountered such a shadow-cjs error

Justin Duncan12:06:17

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

Justin Duncan19:06:55

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?

yogthos12:06:40

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

Justin Duncan14:06:43

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.