Skip to content

Unable to resolve var #17

Description

@DonyorM

I'm currently getting the following error when trying to run boot-figreload:

java.lang.RuntimeException: Unable to resolve var: figwheel-sidecar.build-middleware.injection/figwheel-connect-ns-name in this context
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve var: figwheel-sidecar.build-middleware.injection/figwheel-connect-ns-name in this context, compiling:(powerlaces/boot_figreload/figwheel.clj:25:3)
             clojure.lang.ExceptionInfo: java.lang.RuntimeException: Unable to resolve var: figwheel-sidecar.build-middleware.injection/figwheel-connect-ns-name in this context, compiling:(powerlaces/boot_figreload/figwheel.clj:25:3)

Here's the task that runs when this issue is caused:

(deftask figwheel
  "Runs figwheel and enables reloading."
  []
  (dev)
  (require '[powerlaces.boot-figreload :refer [reload]])
  (let [reload (resolve 'powerlaces.boot-figreload/reload)]
    (comp
     (start-server)
     (watch)
     (reload :client-opts {:debug true})
     (cljs-repl)
     (cljs))))

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