Closed OliverM closed 10 years ago
Looks like GH's auto-markdown swallowed the full namespace declaration, it should read
[cemerick.friend :as friend]
(cemerick.friend [workflows :as workflows]
[credentials :as creds])
so sounds like a problem with LT then?
No, I'm using IntelliJ/Cursive - they encountered it too but it seems to be core.memoize that's the root cause (somehow).
On 6 Aug 2014, at 19:40, Dmitri Sotnikov notifications@github.com wrote:
so sounds like a problem with LT then?
— Reply to this email directly or view it on GitHub.
If I understand this correctly, the problem is that the core.memoize version needed by friend is not being pulled in correctly?
I think so, and the additions to project.clj force the correct dependencies (without seeming to affect anything else, on first inspection)
On 6 Aug 2014, at 20:06, Dmitri Sotnikov notifications@github.com wrote:
If I understand this correctly, the problem is that the core.memoize version needed by friend is not being pulled in correctly?
— Reply to this email directly or view it on GitHub.
it looks like friend specifies core.cache "0.6.2" in its dependencies https://github.com/cemerick/friend/blob/master/project.clj perhaps it needs to be updated to 0.6.3?
Good point, I'll raise it on the Friend page. I would've gone there first only the issue doesn't arise in standalone Friend projects. Thanks for the help!
Attempting to add
[cemerick.friend :as friend](cemerick.friend [workflows :as workflows] [credentials :as creds])
to my luminus handler namespace causes the compiler to complain (snipped) ... namespace 'clojure.core.memoize' not found ...
Googling then adding the solution found at this LightTable issue fixes it: https://github.com/LightTable/LightTable/issues/794
(The workaround is to add
[org.clojure/core.cache "0.6.3"] [org.clojure/core.memoize "0.5.6" :exclusions [org.clojure/core.cache]]
to the project.clj dependencies).