aroemers / mount-lite

mount, but different and light
https://cljdoc.org/d/functionalbytes/mount-lite/
Eclipse Public License 1.0
102 stars 8 forks source link

Exception while require: "No such var: parse/name-from-ns-decl" #6

Closed aksenov closed 8 years ago

aksenov commented 8 years ago

Got exception while trying to require mount-lite.

Steps to reproduce problem:

lein new app mount-lite-test
add  [functionalbytes/mount-lite "0.9.4"] to project.clj
lein deps
lein repl
mntl.core=> (require '[mount.lite :as mount])
CompilerException java.lang.RuntimeException: No such var: parse/name-from-ns-decl, compiling:(mount/lite/graph.clj:15:29)

Working under Windows 10, if it's matter

aroemers commented 8 years ago

Hi @aksenov,

When I follow your steps, I don't get the issue you are having. I am on OS X, but I doubt that would matter. Are you using the tools.namespace library by any chance, either in your project.clj or profiles.clj? Mount-lite requires the latest version of that library (version 0.3.0-alpha3).

aroemers commented 8 years ago

@aksenov This might identify where you probably have a version conflict:

lein with-profile +repl deps :tree
aksenov commented 8 years ago

Yep, it was dependency conflict with tools.namespace of old CIDER plugin (0.8.5) in global Lein settings. Now all works fine.

aksenov commented 8 years ago

Thanks for help and for useful library. I like your point of view on mountfunctionality. Keep it lite.

aroemers commented 8 years ago

Glad you like it, and thanks for reporting back. Have fun!