Open borkdude opened 4 years ago
This seems to be solved by adding a (require '[clojure.zip])
:
(ns html (:require [babashka.pods :as pods]))
(require '[clojure.zip])
(def pod (pods/load-pod "bootleg"))
(require '[pod.retrogradeorbit.bootleg.utils :as utils])
(prn (utils/html->hiccup "<html><body><p>ahoj</p></body></html>"))
(pods/unload-pod pod)
(shutdown-agents)
@retrogradeorbit Do you think the require could be added to the bootleg pod somehow to make it compatible with the JVM?
PS: note that I also have to unload the pod and call shutdown-agents to exit the JVM normally.
I missed this at the time. I wish github had webpush notifications for this stuff. I will have a look at this.
When using this library on the JVM, there appears to be a problem with the bootleg pod that does not manifest with babashka native.