Fork me on GitHub
#cider
<
2021-10-22
>
Luis Santos10:10:15

Hi everyone, I keep getting the following error while trying to jackin a cljs session:

ArtifactResolutionException Could not find artifact refactor-nrepl:refactor-nrepl:jar:3.0.0alpha13 in central ()
	org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:422)
	org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:224)
	org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:338)
	sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
Caused by:
I looked online and the version is 3.0.0-alpha13 instead of 3.0.0alpha13. Am I doing something wrong? How do I change the version used by cider to jackin? cider-shadow-default-options? https://mvnrepository.com/artifact/refactor-nrepl/refactor-nrepl/3.0.0-alpha13 Thanks

👀 1
vemv10:10:43

can you confirm that evaling cljr-injected-middleware-version returns the right version?

vemv10:10:57

after that, are you using deps.edn or Lein?

Luis Santos10:10:05

neither I'm just using shadow-cljs

vemv11:10:33

I don't know much about how that works, can try helping though (I maintain refactor-nrepl etc)

vemv11:10:39

what does cljr-injected-middleware-version eval to?

vemv11:10:25

another nice one to eval is cider-jack-in-lein-plugins (shadow uses that variable despite the "lein" naming)

vemv11:10:39

Also there's a good chance that the jack in command is logged to your *messages* buffer or a similar one

vemv10:10:16

Starting from this morning there's refactor-nrepl 3.0.0 (no more alpha!) which should, among other things, fix your problem