This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-30
Channels
- # announcements (1)
- # babashka (28)
- # beginners (68)
- # cider (12)
- # clj-kondo (5)
- # clojure (37)
- # clojure-spec (4)
- # core-async (5)
- # cursive (3)
- # data-science (1)
- # datomic (70)
- # fulcro (18)
- # graalvm (1)
- # joker (1)
- # luminus (2)
- # malli (11)
- # off-topic (21)
- # shadow-cljs (3)
- # spacemacs (11)
- # test-check (3)
- # vrac (8)
hi friends, I don't know if it is a right channel to post this question or not. Please forgive me if it is not. I m unable to start cider-jack-in-clojurescript for my shadowcljs project in spaceemacs but cider-jack-in works fine. Please help me know what i m missing to make it work! Here are the logs that I m getting. Note: I m following practicalli spacemacs guide Bundle of thanks
A session with the same parameters exists (clojure-projects/reviews:localhost:56442). You can connect a sibling instead. Proceed? (y or n) y
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps '{:deps {nrepl {:mvn/version "0.8.0"} cider/piggieback {:mvn/version "0.5.1"} refactor-nrepl {:mvn/version "2.5.0"} cider/cider-nrepl {:mvn/version "0.25.3"}}}' -m nrepl.cmdline --middleware '["refactor-nrepl.middleware/wrap-refactor", "cider.nrepl/cider-middleware", "cider.piggieback/wrap-cljs-repl"]'
[nREPL] server started on 57396
[nREPL] Establishing direct connection to localhost:57396 ...
[nREPL] Direct connection to localhost:57396 established
error in process filter: user-error: The shadow-cljs ClojureScript REPL is not available. Please check for details
error in process filter: The shadow-cljs ClojureScript REPL is not available. Please check for details
Review this guide to Clojurescript and cider for details on how to configure a shadow-cljs project https://docs.cider.mx/cider/0.26/cljs/shadow-cljs.html
thanks John I will give it another go. I worked me with emacs, but stop working when changed my configs to spaceemacs. thank you so much for practicalli 🙏
I don't believe there is any difference between using Emacs and Spacemacs, as the ClojureScript all goest through CIDER. It could be a change in CIDER version, or some settings you had in the Emacs config. Looking at the #cider channel, many people have issues getting Shadow-cljs working, I think is just a matter of reading all the docs as there are more moving parts than with just a Clojure project.
I was able to solve make it work be running my shadow server by running
npx shadow-cljs server
and then running cider-connect-cljs to it
thanks again for help @jr0cket
just a nitpicking, I get these warnings when using the config -
Auto-evilification could not remap these functions in map 'org-agenda-mode-map':
- 'org-agenda-next-line' originally mapped on 'C-n'
Auto-evilification could not remap these functions in map 'org-agenda-mode-map':
- 'org-agenda-toggle-time-grid' originally mapped on 'G'
Auto-evilification could not remap these functions in map 'org-agenda-mode-map':
- 'org-agenda-filter-remove-all' originally mapped on '|’
Auto-evilification could not remap these functions in map 'org-agenda-mode-map':
- 'org-agenda-filter-by-tag' originally mapped on '\'
Package cl is deprecated
Package cl is due to Emacs 27 dropping cl package as it was deprecated several years ago. There are a few community packages that still use cl instead of the new one, which I think is called cl-lib
The others are warnings about remapping that have been around for ages. I've not experienced any issues so never looked into them.
is there a way to prevent same command showing up multiple times in the emacs command history ?
There were some issues raise on the Spacemacs GitHub repository about duplicate commands in the helm popup.
I had the same issue. I think I deleted the helm packages and cleared the .emacs.d/cache
. I believe it's the savehist
file that contains the duplicates