Closed qq00 closed 6 years ago
(defn b2 [] (str "hello world")) (pk/mount! b2 "/")
2a. Running in lein repl, we get a 4.5MB zip, and everything works. 2b. Running in boot, we get a 300kb zip, with error
{"errorMessage":"Error loading class portkey.LambdaStub: clojure/lang/IFn","errorType":"java.lang.NoClassDefFoundError"}
(in lein version) ls lib asm-5.0.4.jar kryo-4.0.0.jar carbonite-1.4.0.jar minlog-1.3.0.jar chill-java-0.3.5.jar objenesis-2.2.jar clojure-1.9.0-beta2.jar reflectasm-1.11.3.jar core.specs.alpha-0.1.24.jar spec.alpha-0.1.134.jar
These files do not exist in the boot version.
If we copy these files over into the boot version, re-zip, and re-upload, the boot version works too.
Problem: it appears that the boot version is somehow not attaching the *.jars
2a. Running in lein repl, we get a 4.5MB zip, and everything works. 2b. Running in boot, we get a 300kb zip, with error
These files do not exist in the boot version.
If we copy these files over into the boot version, re-zip, and re-upload, the boot version works too.
Problem: it appears that the boot version is somehow not attaching the *.jars