This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-21
Channels
- # announcements (10)
- # aws (10)
- # babashka (23)
- # beginners (111)
- # biff (8)
- # calva (25)
- # clj-kondo (9)
- # cljsrn (4)
- # clojure (72)
- # clojure-belgium (6)
- # clojure-europe (50)
- # clojure-germany (2)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-uk (1)
- # datahike (3)
- # emacs (10)
- # graalvm (19)
- # graphql (3)
- # juxt (7)
- # kaocha (9)
- # malli (23)
- # nbb (20)
- # pathom (17)
- # pedestal (6)
- # polylith (11)
- # portal (8)
- # remote-jobs (3)
- # shadow-cljs (18)
- # sql (3)
- # tools-deps (20)
Hi there, I am new to biff and babashka so this might be a boo boo question; I am getting an error when trying to run bb dev
in my project dir (ran bash <(curl -s
to create the project). This is the error I am getting;
Error: Could not find or load main class
Caused by: java.lang.ClassNotFoundException:
Error while executing task: dev
Anyone have any ideas why this is happening?hmm, not sure why that'd be happening. does it work if you run bb --force -e nil; bb dev
?
what version of babashka are you on? (did you just install it?)
👍 I'll try running it with that version once I'm at my desk and see if I can reproduce the error. in the mean time, you could run the shell commands directly instead of using babashka. see here: https://github.com/jacobobryant/biff/blob/master/tasks/src/com/biffweb/tasks.clj#L61
basically you'd need to install tailwind, run it in a separate terminal, then run clj
with various arguments. (I'd paste the commands, but inconvenient on a phone 🙂)
Just installed the same bb 1.0.165 and it works for me, so problem must be something else. Some other things to try:
• Does bb hello
work? (it should print Hello there.
)
• Does bb --debug dev
give any useful-looking output?
• Does clj -M -m com.example
work if you replace com.example
with whatever you chose as the main namespace for your project?