Fork me on GitHub
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 (
	org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (
	org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (
	sun.reflect.NativeMethodAccessorImpl.invoke0 (
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? Thanks

👀 1

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


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

Luis Santos10:10:05

neither I'm just using shadow-cljs


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


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


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


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


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