I thought I'd give Fulcro exercises a whirl and I bumped into a "react" not available error when running clojure -M:serve
➜ fulcro-exercises git:(master) ✗ clojure -M:serve
shadow-cljs - HTTP server available at http://localhost:8000
shadow-cljs - server version: 2.11.6 running at http://localhost:9630
shadow-cljs - nREPL server started on port 9000
shadow-cljs - watching build :main
[:main] Configuring build.
[:main] Compiling ...
[:main] Build failure:
The required JS dependency "react" is not available, it was required by "cljsjs/react.cljs".
Dependency Trace:
com/fulcrologic/fulcro/inspect/preload.cljs
com/fulcrologic/fulcro/inspect/inspect_client.cljc
com/fulcrologic/fulcro/rendering/keyframe_render.cljc
com/fulcrologic/fulcro/components.cljc
cljsjs/react.cljs
Searched for npm packages in:
/Users/zand/dev/fulcro-community/fulcro-exercises/node_modules
See: https://shadow-cljs.github.io/docs/UsersGuide.html#npm-install
I think I've seen this in the past but not sure how I resolved it. Please let me know if I can be of any help in fixing this.