Fork me on GitHub
#cursive
<
2022-11-24
>
Ian Fernandez04:11:21

how can I proceed on running a project that has figwheel-sidecar error like this by "Run with IntelliJ Classpath" ???

onetom04:11:05

1. u can downgrade clojure to 1.10.x 2. u can transition to https://figwheel.org/. while figwheel-sidecar doesn't explicitly states it, but in practice, u can consider it deprecated, as the A new Figwheel!! heading hints at it, at the top of its README: https://github.com/bhauman/lein-figwheel here are more thoughts on the topic: https://clojureverse.org/t/what-is-the-difference-between-figwheel-main-and-figwheel-sidecar/6832/5

wontheone107:11:10

Have you tried to use remote REPL?

onetom09:11:10

not sure I understand the question, but i haven't worked with ClojureScript or figwheel-main running in a browser for many years. but i do connect to remote nREPLs often (running within Datomic Cloud ion servers). why?

wontheone109:11:16

That was a suggestion for Ian 馃檪

Ian Fernandez08:11:32

How can I force IntelliJ to run with clojure 1.10.1 for example??

wontheone110:11:23

Isn鈥檛 the version specified in deps.edn or project.clj ?

Ian Fernandez13:11:13

yes, it is but the IntelliJ classpath is enforcing clojure 1.11.1

imre13:11:06

Do you by any chance have an alias/profile ticked in tge relevant tool window which pulls in 1.11.1驴

imre13:11:32

Have you done refresh deps/lein project and the restarting the repl?

馃憤 1
Ian Fernandez13:11:28

I'm using a maven project :')

Ian Fernandez13:11:52

Do you by any chance have an alias/profile ticked in tge relevant tool window which pulls in 1.11.1驴 No, inspected the tree

imre13:11:30

Oh I see. Maven+clojure is unknown territory to me I'm afraid

Ian Fernandez13:11:42

I've inspected the maven dependency tree with mvn dependency:tree -Dverbose=true and nothing pulls clojure 1.11.1

imre13:11:36

And does anything specifically pull the desired version?

Ian Fernandez13:11:00

Syntax error macroexpanding clojure.core.async/go Attempting to call unbound fn: #'clojure.tools.analyzer.utils/update-vals

Ian Fernandez13:11:16

And does anything specifically pull the desired version? Yes, I'm pulling in clojure 1.10.1

imre14:11:32

what version of clojure tools.analyzer is being pulled in and by what?

Ian Fernandez14:11:45

I'm pulling out tools.analyzer 1.1.0

imre14:11:48

and what version of core async?

Ian Fernandez13:11:13

yes, it is but the IntelliJ classpath is enforcing clojure 1.11.1

Shantanu Kumar15:11:13

Hi. Probably a Noob question - how do I re-indent a line (or selection) correctly after I mistakenly moved it?

wontheone116:11:42

cmd alt L works for me in my mac

Shantanu Kumar12:11:01

@U354VUKQA Thanks, I got it working with Ctrl+Alt+L on Linux. Selecting text and the key combination applies re-indentation to just the selected text.

馃憤 1
ericdallo20:11:14

In case anyone with Intellij plugin knowledge knows how to help :)