bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 209 forks source link

can not require foreign libs through figwheel repl #403

Open BlanceXR opened 8 years ago

BlanceXR commented 8 years ago

Java.lang.IllegalArgumentException: Namespace leaflet-plugins does not exist

So I just followed the official instruction to setup a foreign lib for the project, and it works just fine in the browser.

However, after I run lein figwheel, and connect to it in browser, and the cljs.user=> pops up. I tried to run something like (ns a.c (:require [leaflet-plugins])) which gives the above error.

This would work fine inside a cljs file, just cannot eval through the repl.

bhauman commented 8 years ago

This is could be a ClojureScript behavior. Please use the ClojureScript REPL without figwheel to verify this.

polymeris commented 8 years ago

Running into the same issue, @BlanceXR Did you figure it out? Thanks!