portal

dvingo 2023-01-11T23:59:52.636209Z

hi - I am trying to get portal setup, when I try (require '[portal.api :as po]) I get:

. Unhandled clojure.lang.Compiler$CompilerException
   Error compiling portal/runtime/jvm/launcher.clj at (1:1)
   #:clojure.error{:phase :compile-syntax-check,
                   :line 1,
                   :column 1,
                   :source "portal/runtime/jvm/launcher.clj"}
                  core.clj: 5892  clojure.core/throw-if
                  core.clj: 5980  clojure.core/load-lib
         

1. Caused by java.lang.Exception
   namespace 'portal.runtime.jvm.server' not found
I'm on jdk 11 & clojure 1.11.1, leiningen with [djblue/portal "0.35.1"]

dvingo 2023-01-12T12:46:55.971929Z

thanks! that looks like the problem here - the project is using http-kit 2.3.x

djblue 2023-01-12T00:06:02.310169Z

I think this is similar to https://clojurians.slack.com/archives/C0185BFLLSE/p1670923809115399

djblue 2023-01-12T00:06:21.854329Z

So there might be a conflicting version of http-kit in your dependencies