Fork me on GitHub
#fulcro
<
2020-11-02
>
Otis van Duijnen Montijn14:11:50

Hi all, I’m having trouble using my Fulcro-inspect REPL that’s connected to :chrome-devtool which I’m using in my browser. I’m trying to make changes to inspect but it’s pretty hard without a working REPL. First time building everything I get to define a value and read it but after that first time it keeps giving me the following error: a ------ WARNING - :undeclared-var -----------------------------------------------  Resource: :1:1  Use of undeclared Var fulcro.inspect.client/a -------------------------------------------------------------------------------- TypeError: Cannot read property 'a' of undefined   at eval (eval at shadow$cljs$devtools$client$browser$global_eval (js/devtool/cljs-runtime/shadow.cljs.devtools.client.browser.js), <anonymous>:1:23)   at eval (<anonymous>)   at Object.shadow$cljs$devtools$client$browser$global_eval [as global_eval] (js/devtool/cljs-runtime/shadow.cljs.devtools.client.browser.js:829:16)   at eval (js/devtool/cljs-runtime/shadow.cljs.devtools.client.browser.js:838:44)   at Object.shadow$cljs$devtools$client$env$repl_call [as repl_call] (js/devtool/cljs-runtime/shadow.cljs.devtools.client.env.js:145:108)   at Object.shadow$cljs$devtools$client$browser$repl_invoke [as repl_invoke] (js/devtool/cljs-runtime/shadow.cljs.devtools.client.browser.js:836:46)   at shadow$cljs$devtools$client$browser$handle_message (js/devtool/cljs-runtime/shadow.cljs.devtools.client.browser.js:921:37)   at eval (js/devtool/cljs-runtime/shadow.cljs.devtools.client.env.js:294:152)   at Object.shadow$cljs$devtools$client$env$process_next_BANG_ [as process_next_BANG_] (js/devtool/cljs-runtime/shadow.cljs.devtools.client.env.js:273:90)   at Object.shadow$cljs$devtools$client$env$process_ws_msg [as process_ws_msg] (js/devtool/cljs-runtime/shadow.cljs.devtools.client.env.js:298:40) (added ‘(def a 100)’ at the bottom of the fulcro.inspect.client namespace) Anyone got an idea of what’s going wrong here?