Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building classpath. connector is not available #1

Open
PavlosMelissinos opened this issue Nov 30, 2019 · 0 comments
Open

Error building classpath. connector is not available #1

PavlosMelissinos opened this issue Nov 30, 2019 · 0 comments

Comments

@PavlosMelissinos
Copy link

PavlosMelissinos commented Nov 30, 2019

I 've added the nvd alias to my deps.edn file,

:nvd     {:extra-deps {deps-nvd {:git/url "[email protected]:BareSquare/deps-nvd.git"
                                 :sha     "a147c9a393a067f418f3775c6c433670a9c2e0a2"}}
          :main-opts  ["-m" "deps-nvd.core" "check"]}

as instructed but I'm getting the following error when I try to run clj -A:nvd

Cloning: [email protected]:BareSquare/deps-nvd.git                                                                                     
Error building classpath. connector is not available:                                                                               
com.jcraft.jsch.agentproxy.AgentProxyException: connector is not available:           
        at com.jcraft.jsch.agentproxy.ConnectorFactory.createConnector(ConnectorFactory.java:120) 
        at clojure.tools.gitlibs.impl$fn__899.invokeStatic(impl.clj:30)                         
        at clojure.tools.gitlibs.impl$fn__899.invoke(impl.clj:28)                                                                   
        at clojure.lang.Delay.deref(Delay.java:42)                                                                                  
        at clojure.core$deref.invokeStatic(core.clj:2320)                                                                           
        at clojure.core$deref.invoke(core.clj:2306)                                                                                 
        at clojure.tools.gitlibs.impl$call_with_auth.invokeStatic(impl.clj:49)                                              
        at clojure.tools.gitlibs.impl$call_with_auth.invoke(impl.clj:41)                       
        at clojure.tools.gitlibs.impl$git_clone_bare.invokeStatic(impl.clj:71)                              
        at clojure.tools.gitlibs.impl$git_clone_bare.invoke(impl.clj:68)                                         
        at clojure.tools.gitlibs.impl$ensure_git_dir.invokeStatic(impl.clj:110)                                  
        at clojure.tools.gitlibs.impl$ensure_git_dir.invoke(impl.clj:100)                                                    
        at clojure.tools.gitlibs$resolve.invokeStatic(gitlibs.clj:33)                                     
        at clojure.tools.gitlibs$resolve.invoke(gitlibs.clj:29)                                                                     
        at clojure.tools.gitlibs$procure.invokeStatic(gitlibs.clj:47)                                         
        at clojure.tools.gitlibs$procure.invoke(gitlibs.clj:41)                                                                     
        at clojure.tools.deps.alpha.extensions.git$eval966$fn__968.invoke(git.clj:41)                                                       at clojure.lang.MultiFn.invoke(MultiFn.java:239)
        at clojure.tools.deps.alpha$expand_deps.invokeStatic(alpha.clj:181)                             
        at clojure.tools.deps.alpha$expand_deps.invoke(alpha.clj:164)                                           
        at clojure.tools.deps.alpha$resolve_deps.invokeStatic(alpha.clj:231)                                                                at clojure.tools.deps.alpha$resolve_deps.invoke(alpha.clj:213)
        at clojure.tools.deps.alpha.script.make_classpath$create_classpath.invokeStatic(make_classpath.clj:61)               
        at clojure.tools.deps.alpha.script.make_classpath$create_classpath.invoke(make_classpath.clj:53)             
        at clojure.tools.deps.alpha.script.make_classpath$run.invokeStatic(make_classpath.clj:79)                                           at clojure.tools.deps.alpha.script.make_classpath$run.invoke(make_classpath.clj:72)
        at clojure.tools.deps.alpha.script.make_classpath$_main.invokeStatic(make_classpath.clj:118)                         
        at clojure.tools.deps.alpha.script.make_classpath$_main.doInvoke(make_classpath.clj:93)      
        at clojure.lang.RestFn.applyTo(RestFn.java:137)                                                                             
        at clojure.lang.Var.applyTo(Var.java:705)                                                                                   
        at clojure.core$apply.invokeStatic(core.clj:665)                                                                            
        at clojure.main$main_opt.invokeStatic(main.clj:514)                                                                         
        at clojure.main$main_opt.invoke(main.clj:510)                                                                               
        at clojure.main$main.invokeStatic(main.clj:664)
        at clojure.main$main.doInvoke(main.clj:616)
        at clojure.lang.RestFn.applyTo(RestFn.java:137)
        at clojure.lang.Var.applyTo(Var.java:705)
        at clojure.main.main(main.java:40)

Replacing the git url with its http equivalent (i.e. https://github.com/BareSquare/deps-nvd) seems to work.

Credit where credit's due:
cognitect-labs/test-runner#1 (comment)
cognitect-labs/test-runner#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant