0

I'm learning babashka using the free ebook bobooka.pdf.

The first exercise in this book is running hello.clj.

babooka hello.clj error

When I run the first example in the cli with command bb hello.clj I don't see any output.

However if I run the expression in bb repl I see it print the result to the console.

enter image description here

The babashka version that I'm using is v1.3.176.

enter image description here

Any Idea why it is not printing the result to console in first case?

user51
  • 8,843
  • 21
  • 79
  • 158
  • Try using `println` just to see if you get any output – Tiago Dall'Oca Mar 30 '23 at 00:24
  • [Please do not upload images of code/errors when asking a question.](//meta.stackoverflow.com/q/285551) – cfrick Mar 30 '23 at 05:48
  • Does this answer your question? [babashka does not run script - new to babashka](https://stackoverflow.com/questions/75296536/babashka-does-not-run-script-new-to-babashka) – cfrick Mar 30 '23 at 05:50
  • This also got already fixed in the book: https://github.com/braveclojure/babooka/commit/5060609dd5cc45afbb40cb436d9d974901817f9c – cfrick Mar 30 '23 at 05:57

0 Answers0