{"action":"created","issue":{"url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/372","repository_url":"https://api.github.com/repos/bhauman/lein-figwheel","labels_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/372/comments","events_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/372/events","html_url":"https://github.com/bhauman/lein-figwheel/issues/372","id":146089836,"number":372,"title":"Unable to access dependency with exclusions on figwheel-sidecar","user":{"login":"kendagriff","id":110935,"avatar_url":"https://avatars.githubusercontent.com/u/110935?v=3","gravatar_id":"","url":"https://api.github.com/users/kendagriff","html_url":"https://github.com/kendagriff","followers_url":"https://api.github.com/users/kendagriff/followers","following_url":"https://api.github.com/users/kendagriff/following{/other_user}","gists_url":"https://api.github.com/users/kendagriff/gists{/gist_id}","starred_url":"https://api.github.com/users/kendagriff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendagriff/subscriptions","organizations_url":"https://api.github.com/users/kendagriff/orgs","repos_url":"https://api.github.com/users/kendagriff/repos","events_url":"https://api.github.com/users/kendagriff/events{/privacy}","received_events_url":"https://api.github.com/users/kendagriff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-05T19:40:15Z","updated_at":"2016-04-20T19:33:39Z","closed_at":"2016-04-20T19:33:39Z","body":"Not sure if this a problem in `piggieback`, `figwheel-sidecar`, or what, but I have the following project.clj:\r\n\r\n```clojure\r\n(defproject platform-course-client \"0.1.0\"\r\n  ...\r\n  :dependencies [[org.clojure/clojure \"1.7.0\"]\r\n                 [org.clojure/clojurescript \"1.7.170\"]\r\n                 [devcards \"0.2.1-5\"]\r\n                 [sablono \"0.5.3\"]\r\n                 [cljsjs/react \"0.14.3-0\"]\r\n                 [cljsjs/react-dom \"0.14.3-1\"]\r\n                 [cljsjs/react-dom-server \"0.14.3-0\"]\r\n                 #_[reagent \"0.5.1\"]\r\n                 [prismatic/schema \"1.1.0\"]\r\n                 [com.banzai/medley \"0.8.0\"]\r\n                 [org.clojure/core.match \"0.3.0-alpha4\"]]\r\n\r\n  :plugins [[lein-figwheel \"0.5.0-6\"]\r\n            [lein-cljsbuild \"1.1.2\" :exclusions [org.clojure/clojure]]]\r\n\r\n  :clean-targets ^{:protect false} [\"resources/public/js/compiled\"\r\n                                    \"target\"]\r\n\r\n  :source-paths [\"src\"]\r\n\r\n  :profiles {:dev [:profiles/dev :project/dev]\r\n             :profiles/dev {:dependencies [[com.cemerick/piggieback \"0.2.1\"]\r\n                                           [figwheel-sidecar \"0.5.0-1\"]]\r\n                            :source-paths [\"src\"]\r\n                            :repl {:plugins [[cider/cider-nrepl \"0.10.1\"]]}}\r\n             :project/dev {:source-paths [\"dev\"]\r\n                           :repl-options {:init-ns user}\r\n                           :dependencies [[org.clojure/tools.namespace \"0.2.11\"]]}}\r\n\r\n  :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}\r\n\r\n  :cljsbuild {:builds [{:id \"devcards\"\r\n                        :source-paths [\"src\"]\r\n                        :figwheel {:devcards true} ;; <- note this\r\n                        :compiler {:main      \"course.core\"\r\n                                   :asset-path \"js/compiled/devcards_out\"\r\n                                   :output-to  \"resources/public/js/compiled/platform_course_client_devcards.js\"\r\n                                   :output-dir \"resources/public/js/compiled/devcards_out\"\r\n                                   :source-map-timestamp true }}\r\n                       {:id \"dev\"\r\n                        :source-paths [\"src\"]\r\n                        :figwheel true\r\n                        :compiler {:main       \"course.core\"\r\n                                   :asset-path \"js/compiled/out\"\r\n                                   :output-to  \"resources/public/js/compiled/platform_course_client.js\"\r\n                                   :output-dir \"resources/public/js/compiled/out\"\r\n                                   :source-map-timestamp true }}\r\n\r\n  :figwheel { :css-dirs [\"resources/public/css\"] })\r\n```\r\n\r\nThe problem is related to my fork of the `medley` library above (e.g. `com.banzai/medley`). I'm using vim-fireplace, and when I evaluate the following:\r\n\r\n```clojure\r\n(require '[medley.core :refer [indexed-map]])\r\n```\r\n\r\nvim-fireplace doesn't recognize the var, `indexed-map`. I found that medley is included under `figwheel-sidecar`'s dependencies, specifically underneath `compojure`. I can access everything else from medley, suggesting its included the \"0.6.0\" version accessed in the compojure library.\r\n\r\nAnd, I **can** access `indexed-map` straight from the nREPL prompt. Just not from Vim.\r\n\r\nWhen I add an exclusion, (e.g. `[figwheel-sidecar \"0.5.0-1\" :exclusions [medley]]`), the library in its entirety becomes unavailable altogether. Can't access anything from medley at all.\r\n\r\nAny ideas? If this is simply the wrong place to be asking, maybe someone can make a recommendation?"},"comment":{"url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/comments/212571757","html_url":"https://github.com/bhauman/lein-figwheel/issues/372#issuecomment-212571757","issue_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/372","id":212571757,"user":{"login":"kendagriff","id":110935,"avatar_url":"https://avatars.githubusercontent.com/u/110935?v=3","gravatar_id":"","url":"https://api.github.com/users/kendagriff","html_url":"https://github.com/kendagriff","followers_url":"https://api.github.com/users/kendagriff/followers","following_url":"https://api.github.com/users/kendagriff/following{/other_user}","gists_url":"https://api.github.com/users/kendagriff/gists{/gist_id}","starred_url":"https://api.github.com/users/kendagriff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendagriff/subscriptions","organizations_url":"https://api.github.com/users/kendagriff/orgs","repos_url":"https://api.github.com/users/kendagriff/repos","events_url":"https://api.github.com/users/kendagriff/events{/privacy}","received_events_url":"https://api.github.com/users/kendagriff/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T19:33:39Z","updated_at":"2016-04-20T19:33:39Z","body":"Okay, that indeed fixed it. Thank you!"}}