I have this code which producess an error:
import htmlgen import jester
routes:
get "/":
resp "hi"
Console output is:
INFO Jester is making jokes at <http://0.0.0.0:5000> Starting 8 threads
Listening on port 5000 No stack traceback available SIGSEGV: Illegal storage
access. (Attempt to read from nil?) Error: execution of an external program
failed: '/Users/alex/IdeaProjects/experiments/nnim/app'
I run it with this command: nim c -r app.nim
Apple M1.
What is wrong with it? I just started learning the language.