This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-28
Channels
- # babashka (167)
- # beginners (91)
- # calva (24)
- # chlorine-clover (5)
- # cider (14)
- # clj-kondo (15)
- # cljdoc (20)
- # clojure (122)
- # clojure-czech (1)
- # clojure-europe (31)
- # clojure-france (2)
- # clojure-nl (5)
- # clojure-spec (8)
- # clojure-uk (7)
- # clojurescript (29)
- # conjure (2)
- # cursive (4)
- # data-science (4)
- # datomic (13)
- # figwheel-main (13)
- # fulcro (21)
- # lambdaisland (4)
- # meander (10)
- # observability (7)
- # off-topic (15)
- # overtone (4)
- # pathom (5)
- # pedestal (6)
- # re-frame (9)
- # reitit (13)
- # remote-jobs (2)
- # ring (1)
- # rum (5)
- # shadow-cljs (24)
- # spacemacs (19)
- # test-check (18)
- # tools-deps (82)
- # tree-sitter (1)
- # xtdb (35)
Hi! For some reason I started to see this error when jacking-in:
> Executing task: clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} cider/cider-nrepl {:mvn/version "0.23.0"} clj-kondo {:mvn/version "2020.04.05"}}}' -A:dev <
zsh:1: command not found: clojure
The terminal process "/bin/zsh '-c', 'clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} cider/cider-nrepl {:mvn/version "0.23.0"} clj-kondo {:mvn/version "2020.04.05"}}}' -A:dev'" failed to launch (exit code: 127).
Terminal will be reused by tasks, press any key to close it.
100% sure it is not calva-related issue b/c if I start vscode via code .
or run Developer: Reload window
then it works ok.
Just curious if I’m the only one here who is facing this.
PS I’m using macos.when you start vscode via the dock, the PATH env var value doesn't contain the path to the directory where the file "clojure" lives
yeah, understandable but it started only today) previously used alfred to start vscode and everything was ok
here is a relatively recent article that goes into it: https://www.bounga.org/tips/2020/04/07/instructs-mac-os-gui-apps-about-path-environment-variable/
why not just start code from alfred within a shell? @il.tmfv That would be: > code &; exit 0
Also it is a bit strange that Developer: Reload window
command helps
https://github.com/microsoft/vscode/issues/107169 looks like i’m not the only one
the lone comment in that issue is surprising: > There is something in your .zshrc which prevents VS Code from loading it in order to set the correct env. i wonder if that's really the case.
I'm using Calva and I've run into an error. I have a form in my file that I've annotated with a #dbg tag:
#dbg
(let [schema (with-open
[schema* (io/input-stream "resources\\tests\\testSchema.xsd")]
(cxs/read-schema schema*))
_ (pprint schema)
parsed (with-open [file (io/input-stream "resources\\tests\\cql\\ValueLiteralsAndSelectors.xml")]
(cxs/parse schema file))]
(pprint parsed))
When I try to jack in now, I'm getting the following error:
#error {
:cause Attempting to call unbound fn: #'cider.nrepl.middleware.debug/debug-reader
:via
[{:type clojure.lang.Compiler$CompilerException
:message Syntax error reading source at (cql_parser/core.clj:27:19).
:data #:clojure.error{:phase :read-source, :line 27, :column 19, :source cql_parser/core.clj}
:at [clojure.lang.Compiler load Compiler.java 7643]}
{:type java.lang.IllegalStateException
:message Attempting to call unbound fn: #'cider.nrepl.middleware.debug/debug-reader
:at [clojure.lang.Var$Unbound throwArity Var.java 45]}]