Add note about fs permissions in get-deps error

This commit is contained in:
Danielle Tomlinson 2017-02-08 21:23:03 +01:00
parent 5fe3b9d77b
commit b22dc25b3b
No known key found for this signature in database
GPG key ID: 35D2D0983CE43CC7

View file

@ -293,7 +293,7 @@
(catch DependencyResolutionException e (catch DependencyResolutionException e
;; Cannot recur from catch/finally so have to put this in its own defn ;; Cannot recur from catch/finally so have to put this in its own defn
(print-failures e) (print-failures e)
(warn "This could be due to a typo in :dependencies or network issues.") (warn "This could be due to a typo in :dependencies, file system permissions, or network issues.")
(warn "If you are behind a proxy, try setting the 'http_proxy' environment variable.") (warn "If you are behind a proxy, try setting the 'http_proxy' environment variable.")
(throw (ex-info "Could not resolve dependencies" {:suppress-msg true (throw (ex-info "Could not resolve dependencies" {:suppress-msg true
:exit-code 1} e))) :exit-code 1} e)))