Skip to content

cider is not defined in browser with shadow-cljs #47

@hoclun-rigsep

Description

@hoclun-rigsep

I'm trying to use suitable with neovim, shadow-cljs, and cider-nrepl.

My shadow-cljs.edn specifies suitable and cider-nrepl as deps and I have suitable.js-introspection as a preload.

the following occurs in the browser console when I attempt completion!

console.js:213 REPL Invoke Exception ReferenceError: cider is not defined
    at eval (eval at shadow$cljs$devtools$client$browser$global_eval (shadow.cljs.devtools.client.browser.js:1:1), <anonymous>:1:1)
    at eval (<anonymous>)
    at Object.shadow$cljs$devtools$client$browser$global_eval [as global_eval] (browser.cljs:159:5)
    at Object.eval [as shadow$cljs$devtools$client$shared$IHostSpecific$do_invoke$arity$5] (browser.cljs:208:19)
    at Object.shadow$cljs$devtools$client$shared$do_invoke [as do_invoke] (shared.cljs:23:15)
    at shadow$cljs$devtools$client$shared$handle_repl_invoke (shared.cljs:133:4)
    at Object.shadow$cljs$devtools$client$shared$interpret_action [as interpret_action] (shared.cljs:208:12)
    at Object.shadow$cljs$devtools$client$shared$interpret_actions [as interpret_actions] (shared.cljs:233:8)
    at eval (shared.cljs:285:15)
    at Object.shadow$remote$runtime$shared$process [as process] (shared.cljc:188:16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions