#object[ReferenceError ReferenceError: datawalk is not defined] error in repl


I am trying to use datawalk (https://github.com/eggsyntax/datawalk) interactively in my cljs repl using figwheel and am getting the following error:

dev:my-app.core!{:conn 2}=> (require '[datawalk.core :as dw :refer [look-at w]])
dev:my-app.core!{:conn 2}=> (look-at @state)
#object[ReferenceError ReferenceError: datawalk is not defined]

This was previously working, but I have since updated clj to 1.9-beta2 and clojurescript to 1.9.946 and updated the version of lein-cljsbuild to 1.1.7. ( as well as a bunch of other libraries (as per below).

Is there some way that I can get some more info on what is going wrong here?


Here are the dependencies from my project.clj:

:dependencies [[org.clojure/clojure "1.9.0-beta2"]
                 [org.clojure/clojurescript "1.9.946"]
                 [org.clojure/core.async "0.3.442"]
                 [com.andrewmcveigh/cljs-time "0.5.2"]
                 [reagent "0.5.1"]
                 [secretary "1.2.3"]
                 [venantius/accountant "0.2.3"]
                 [cljs-ajax "0.5.8"]
                 [com.rpl/specter "1.0.3"]
                 [datawalk "0.1.12"]]

  :plugins [[lein-cljsbuild "1.1.7"]
            [lein-figwheel "0.5.14"]
            [lein-doo "0.1.8"]]

It’s a bit hard to say without more context. My first guess would be that your REPL is no longer in a consistent state. I would start by closing figwheel, cleaning up any build artifacts, then starting it again.

Also check your browser console to make sure the require is not causing any errors. You would normally see them in your figwheel repl but just in case. After the require you should be able to type in datawalk.core in your browser console and it should be defined and return some big ugly namespace object.