Closed jacoobes closed 6 months ago
Great work with biff!
Thanks!
Execution error (NullPointerException) at com.biffweb.tasks/dev (tasks.clj:290).
hmm, here's the line that error is referencing: https://github.com/jacobobryant/biff/blob/master/libs/tasks/src/com/biffweb/tasks.clj#L290
In resources/config.edn
you should have a :biff.tasks/main-ns
key that's set to the main namespace of your app (e.g. com.example
). And in that namespace you should have a -main
function that starts your app. If you renamed the file or renamed the -main
function, that would trigger the NullPointerException
.
oml, i must have accidentally messed with the namespace while editing, thank you!! https://github.com/jacoobes/airbin/commit/ef6ba58c62249763ab0f16a96fd19f77f3195c99
Great work with biff! Im working on windows and im getting this error. It was working previously but then I edited a few of my own files and then i tried running the dev server again, and i get this error.
Full report:
I run with
clj -M:dev dev
. My clj version isClojure CLI version (deps.clj) 1.11.2.1446
I have babashka installed