Fork me on GitHub
#fulcro
<
2021-07-22
>
sheluchin14:07:06

I'm just starting with fulcro-exercises and I immediately hit this same snag: https://github.com/fulcro-community/fulcro-exercises/issues/4. Strangely enough, running bb serve does manage to start the server, but also spits out some errors related to the classpath.

Jakub Holý (HolyJak)16:07:41

Sorry for that, I will look into it next week when I have time. Strange you get the #4 error yet obviously shadow is there. Not sure why shadow-cljs tries to load cider nrepl?! But since it does, try c clojure -M:cider:serve instead

sheluchin16:07:34

No worries, appreciate your attention. I did try it with the :cider alias as well. Same result. There is discussion about the issue here https://github.com/thheller/shadow-cljs/issues/77#issuecomment-509628657, but shadow is already included in :serve's :extra-deps.

Jakub Holý (HolyJak)16:07:48

@UPWHQK562 what version of clojure CLI do you have? Mine is

❯  clojure --version                                                                                                                      Clojure CLI version 1.10.3.855

sheluchin18:07:16

$ clojure --version
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
--version (No such file or directory)

Full report at:
/tmp/clojure-10573607782755196237.edn
$ clojure
Clojure 1.10.0
user=> 
And then I upgraded:
$ clojure --version
Clojure CLI version 1.10.3.855
It looks like upgrading did at least get me to the running stage. I'm still getting some errors, but I think those are strictly related to my configuration. I need to figure out how to connect vim-iced, but I think I can manage that part.

Jakub Holý (HolyJak)19:07:27

Great! I will update the README to mention the required version.

sheluchin19:07:48

I'm enjoying this exercise. Thanks for putting it together.

Jakub Holý (HolyJak)18:07:00

Thanks! Any feedback appreciated!

sheluchin19:07:52

I don't know if it would be worth the effort, but it would be kinda cool to see a visual of the decision graph in your troubleshooting guide. The troubleshooting video you created was helpful in grasping just how structured the approach to debugging can be.

Jakub Holý (HolyJak)19:07:15

That sounds really cool 🙂 Though I am not sure how I would visualize it.