Fork me on GitHub
#cursive
<
2020-07-22
>
maxt13:07:54

I'm stuck at tools.deps version 0.8.599 When I press the Refresh button, nothing seems to change. I would like to use 0.8.709 which is the one the latest clojure cli tool uses

maxt13:07:37

Also, when I instead try to use CLI tools directly, I get this error

The following errors were found during project resolve:
			/home/max/wavy/wavy-v2/deps.edn:
			Coordinate type :mvn not loaded for library org.clojure/clojure in coordinate {:mvn/version "1.10.1"}

Alex Miller (Clojure team)13:07:56

the coordinate types are ordinarily automatically loaded by requiring org.clojure.tools.deps.alpha so not sure what Cursive is doing where that's not happening

maxt13:07:43

It still happens if I make a new deps project from within cursive

maxt13:07:34

Also still happens after removing ~/.clojure and reinstalling clojure cli tools

manutter5113:07:15

Maybe uninstall/reinstall the Cursive plugin?

salam13:07:55

i’m not 100% sure but i had similar, weird problems because of this issue: https://github.com/cursive-ide/cursive/issues/2105

maxt13:07:34

Thank you for the hints! I did have several versions in that directory but the problem persists after removing all but the latest. But I also just found out that Cursive is no longer available for my version of IntelliJ, so I might just need to upgrade

👍 6
maxt14:07:04

After upgrading to IntelliJ CU 2020.1.4 and Cursive 1.9.2 the refresh button works and I can use tools.deps v 0.8.709. But I still get the same maven resolution error when choosing the "Use CLI Tools" option

maxt14:07:52

To recap on the error: • I open IntelliJ CU 2020.1.4 with Cursive 1.9.2 • I select "Use CLI Tools" in the Clojure Deps settings panel, which detects version 1.10.1.561 • I create a new Clojure Deps project in Cursive with File > New > Project • I get this error in the console

16:31	Errors during project resolution
				The following errors were found during project resolve:
				/home/max/t/mvn-not-loaded-repro/deps.edn:
				Coordinate type :mvn not loaded for library org.clojure/clojure in coordinate {:mvn/version "1.10.1"}
• The same project works if I start it with clj from the command line. clj -Stree also works.

cfleming11:07:54

Hi @maxt, that is very strange. That error used to appear a long time ago, but no-one has reported it for ages. It looks like you’re on Linux, correct? Could you reproduce the problem and then send me a copy of your log file, in case there’s anything to see there? Probably best to email it to <mailto:[email protected]|[email protected]>.

cfleming12:07:27

BTW you can find the log using Help | Show log in &lt;whatever&gt;

onetom15:07:33

@maxt see my answer in #datomic

markbastian20:07:35

Hey all, I am trying to get a new dev onboarded with cursive on windows in a tools.deps project. When we try to get a REPL to run the dialog says "No modules containing clojure.main" found. Any suggestions? He used the dialog to download tools deps in the settings menu.

markbastian21:07:32

Hmm, this is a deps.edn project and so we tried invalidating caches and restarting and no dice. We're also seeing a "could not create shim" error. Does that sound familiar?

salam21:07:09

is the “Project” drop-down list empty on your Run Configuration window as well? if that’s the case then it might be an indication that there’s a problem with project/module resolution. you may want to check that your deps.edn doesn’t have any error and the project resolves successfully when you reimport it.

markbastian21:07:27

I'll have him check that.

cfleming12:07:05

@U0JUR9FPH The “could not create shim” error is the problem, I think. Could you reproduce the problem and send a copy of his log file to <mailto:[email protected]|[email protected]>? Help | Show log in Finder/Explorer…

markbastian14:07:13

I’ll ask him to do it.

markbastian15:07:38

Email sent. Thanks!