This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-11
Channels
- # babashka (13)
- # beginners (17)
- # bristol-clojurians (1)
- # calva (23)
- # cider (5)
- # clj-kondo (32)
- # cljsrn (2)
- # clojure (167)
- # clojure-dev (23)
- # clojure-europe (6)
- # clojure-uk (8)
- # clojurescript (5)
- # cursive (7)
- # datomic (12)
- # emacs (4)
- # events (6)
- # fulcro (2)
- # graalvm (1)
- # interop (10)
- # leiningen (8)
- # local-first-clojure (1)
- # luminus (2)
- # meander (36)
- # planck (3)
- # re-frame (3)
- # reagent (3)
- # sci (2)
- # spacemacs (4)
- # sql (1)
- # test-check (6)
- # tools-deps (22)
- # xtdb (75)
"No supported Jack-in project types detected. Maybe try starting your project manually and use the Connect command?"
What type of project is it (Leiningen, Clojure CLI, etc.)? Do you have the project folder opened and with a proper project.clj
or deps.edn
file?
No. What needs to be in these files?
I try to start a bolieprlat tutorial. The code is plainly: (ns hello-world.core) (println "Hello world!")
Assuming you've installed the https://www.clojure.org/guides/deps_and_cli , you can simply place a deps.edn
file in the project root containing just an empty hashmap - {}
I installed clojure and leiningen. I can start lein from the command line.
I created the deps.edn.
Now I get the error: "Cannot read property 'aliases' of null"
If you are using lein, you need a project.clj
. The best way to go would probably be to start a new Leiningen project using lein new my-project
Ok, now it miracoulsy worked.
"Calva activated. Happy Clojure(Script) coding!"
Thanks,
Excellent!
I am a complete newbie, I don't know if I want a leiningen project or not.
That's fine, we all started out as newbies. At this point I wouldn't worry about it because it sounds like you've got it running with the Clojure CLI
How do I evaluate my code? When I press Ctrl-Alt-C Enter I get: Evaluating file: core.cljs but I would expect "Hello World"
What di I need to do?
Is the project folder opened in VSCode (Ctrl+K Ctrl+O)?
How do I evaluate my code? When I press Ctrl-Alt-C Enter I get: Evaluating file: core.cljs but I would expect "Hello World"
(ns hello-world.core)
(println "Hello world!")
No idea?