ThoughtWorksInc / lein-s3-static-deploy

Lein task to deploy static website to s3 bucket.
Eclipse Public License 1.0
17 stars 4 forks source link

Missing dependency #5

Open Gregg8 opened 7 years ago

Gregg8 commented 7 years ago

Recently, I removed [com.cemerick/clojurescript.test "0.3.3"] from a project. After that point, I got this error when trying to upload to S3...

clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath., compiling:(leiningen/s3_static_deploy.clj:1:1)

Turns out that data.json is used here...

https://github.com/ThoughtWorksInc/lein-s3-static-deploy/blob/master/src/leiningen/s3_static_deploy.clj#L4

but not included in the project dependencies.

The lib I removed just happened to be providing it.

Looks like the solution would be to add [org.clojure/data.json "0.2.6"] to the project dependencies.