This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-13
Channels
- # bangalore-clj (1)
- # beginners (29)
- # boot (13)
- # braveandtrue (5)
- # clara (5)
- # cljs-dev (42)
- # cljsrn (7)
- # clojure (55)
- # clojure-france (46)
- # clojure-nl (11)
- # clojure-portugal (1)
- # clojure-russia (268)
- # clojure-spec (26)
- # clojure-uk (32)
- # clojurescript (173)
- # clr (2)
- # core-async (46)
- # cursive (22)
- # datomic (33)
- # devcards (1)
- # emacs (5)
- # events (8)
- # figwheel (2)
- # flambo (4)
- # instaparse (8)
- # jobs (11)
- # klipse (46)
- # lein-figwheel (3)
- # london-clojurians (2)
- # nrepl (1)
- # off-topic (29)
- # om (4)
- # om-next (8)
- # pedestal (3)
- # rdf (4)
- # re-frame (51)
- # reagent (104)
- # remote-jobs (1)
- # rum (4)
- # schema (2)
- # specter (19)
- # untangled (16)
- # vim (52)
I get this one Cannot init ReplState component state: encoded string too long: 97607 bytes
when starting a repl. Only hit in Google points to an old conversation from this channel, which doesn’t seem to have a solution: https://clojurians-log.clojureverse.org/cursive/2016-12-09.html
@grav Yes, the solution is in there: If you delete <project>/.idea/replstate.xml
, you’ll lose your REPL history but it should fix the problem.
Seems it got fixed by itself, somehow (I restarted IDEA at some point). This is my current replstate.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ReplState" timestamp="1486975892603">{:repl-history {:ide [], :local [], :remote []}}</component>
</project>
and the error is gone.@cfleming Thanks, But my question is sort of a newbie. I don't understand how to create a run configuration for Clojure script repl(brepl). I use mies[1] as template. I select Clojure REPL -> 'Local repl' -> 'Run nRepl with leiningen' -> Run. It starts repl with badge clj, so when I try to send code from Clojure script file to the repl it shows the error message, I'm smart and I switch clj to cljs (I understand that this switch does not start clojurescript repl but it allows me send code to the repl). But when I try to eval (.log js/console ) I see error ‘no such namespace js'. I have red about integration Cursive with brepl and there steps like: 1. Run brepl from terminal 2. Open browser on specific url 3. Connect to repl using 'Remote repl' 4. Eval (run) and (browser-repl) So is it possible run brepl without terminal and browser steps? Like it did for Clojure repl, no extra steps 🙂 Thanks [1] - https://github.com/swannodette/mies
I had to re-image my computer. I reinstalled Intellij after the computer was re-imaged and installed cursive. After restoring settings.jar I cant do anything because I get this error from cursive all the time. Error running Unnamed: '1.8' is bad configured
but the project files contain a reference to an sdk name, so they know which jdk to use to run stuff