When I type (go)
in Clojure repl it gives following error.
Seems like there is no directory exists. What you’ve done before that?
How to initialize this directory?
When I’ve tried it was created by template.
❯ lein new duct my-app +api +ataraxy +example +sqlite
Generating a new Duct project named my-app...
Run 'lein duct setup' in the project directory to create local config files.
❯ tree my-app
my-app
├── README.md
├── db
├── dev
│ ├── resources
│ │ └── dev.edn
│ └── src
│ ├── dev.clj
│ └── user.clj
├── project.clj
├── resources
│ └── my_app
│ ├── config.edn
│ └── public
├── src
│ ├── duct_hierarchy.edn
│ └── my_app
│ ├── handler
│ │ └── example.clj
│ └── main.clj
└── test
└── my_app
└── handler
└── example_test.clj
13 directories, 10 files
❯ lein duct setup
Created profiles.clj
Created .dir-locals.el
Created dev/resources/local.edn
Created dev/src/local.clj
❯ lein repl
nREPL server started on port 61449 on host 127.0.0.1 - <nrepl://127.0.0.1:61449>
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.10.0
OpenJDK 64-Bit Server VM 11.0.2+9
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (dev)
:loaded
dev=> (go)
:duct.server.http.jetty/starting-server {:port 3000}
:initiated
dev=>
It might be something with your sqlite configuration, or something with that directory.