Fork me on GitHub
#shadow-cljs
<
2020-07-26
>
aaelony20:07:35

Can someone point me to a working shadow-cljs example that runs out of the box? I have tried several (e.g. https://github.com/shadow-cljs/examples/tree/master/re-frame) that all seem to have various errors.

aaelony20:07:54

e.g.

[:app] Build failure:
The required namespace "react" is not available, it was required by "mranderson047/reagent/v0v8v0_alpha2/reagent/core.cljs".

aaelony20:07:16

I see, I think I might only need

npm install react react-dom create-react-class react-flip-move react-highlight.js
first. But it might be nice if the examples "just worked", although I understand that might be more difficult.

dpsutton20:07:54

Have to install dependencies no matter what

aaelony22:07:34

well, then list the deps in the readme, or have the install process fetch them ;)

thheller21:07:20

@aaelony those examples are rather outdated. there are a couple more recent ones out there though. I recommend starting with the quick start so you understand whats going on https://github.com/thheller/shadow-cljs/blob/master/README.md

👍 3