This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-13
Channels
- # beginners (202)
- # boot (7)
- # cider (14)
- # clara (2)
- # cljs-dev (7)
- # clojure (56)
- # clojure-italy (9)
- # clojure-spec (6)
- # clojure-uk (12)
- # clojurescript (40)
- # core-async (3)
- # datomic (6)
- # duct (1)
- # editors (10)
- # emacs (5)
- # fulcro (24)
- # off-topic (16)
- # onyx (4)
- # pedestal (1)
- # planck (8)
- # portkey (2)
- # re-frame (31)
- # reagent (23)
- # tools-deps (8)
- # vim (3)
When I cider-jack-in
without project, I load core.async with (require '[clojure.core.async :as a])
. But got error:
1. Unhandled java.io.FileNotFoundException
Could not locate clojure/core/async__init.class or clojure/core/async.clj on classpath.
When I jack-in with project. core.async is loaded. What's the difference, and why?@stardiviner I guess you don't have core.async available as a dependency on classpath
You can I need to include core.async into clj
-Ddeps explicitly?
Isn't the core.async in Clojure by default.
Aho, I see. Thanks
At the beginning I think the intention was to develop it separately for a while and then include it, but I guess that’s never happening at this point.
there's already one here https://github.com/clojure-emacs/cider/issues/1968 and a temporary solutin in the comment
Hi i tried to connect to nashorn repl in cljs file here is the file content
(ns clojurescript-playground.core)
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
and the project.clj is
(defproject clojurescript-playground "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url ""
:license {:name "Eclipse Public License"
:url ""}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.238"]]
:repositories [["" ""]
["sonatype" {:url ""}]]
:profiles {:dev {:dependencies [[cider/piggieback "0.3.2"]]}}
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]})
The error
2. Unhandled clojure.lang.Compiler$CompilerException
Error compiling /tmp/form-init5963414928397737092.clj at (1:29)
1. Caused by java.lang.ClassNotFoundException
cljs.repl.nashorn
Anyone experienced similiar issue? It is possible that my clojurescript version has no support for nashorn?