This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-21
Channels
- # announcements (11)
- # architecture (8)
- # aws (7)
- # babashka (1)
- # beginners (55)
- # calva (52)
- # cider (4)
- # clj-kondo (5)
- # clojure (12)
- # clojure-europe (7)
- # clojure-uk (3)
- # clojurescript (40)
- # clr (1)
- # conjure (5)
- # data-oriented-programming (7)
- # datomic (8)
- # emacs (3)
- # events (1)
- # graphql (2)
- # honeysql (5)
- # lsp (7)
- # missionary (24)
- # nbb (10)
- # off-topic (12)
- # pathom (5)
- # reagent (9)
- # reitit (4)
- # schema (1)
- # sci (9)
- # shadow-cljs (2)
- # specter (6)
- # tools-deps (4)
- # xtdb (13)
Hey. I can't understand this error. It says that it can't find a namespace but I started REPL in the leiningen directory and only then opened the buffer. What does that mean? It opens just fine on Spacemacs. My import looks like this:
(ns api.main
(:require [com.stuartsierra.component :as component]
...
))
This happens when I try to evaluate the whole buffer with <localleader>eb
.
I think I'm connected to the REPL that I started via :Lein
but it doesn't allow to evaluate the namespace :thinking_face:You're connected to babashka which is started for you automatically. If your lein repl is running you should be able to use ,cf
to connect to the lein repl.
This can happen if you open a clojure file BEFORE starting your repl and forget to switch connections from the default babashka fallback to the new REPL you just started.
Ok. Thanks. I'll try that.