Third party clojurescript libraries dependencies

Issue #1 resolved
Peter Rudenko
created an issue

Hi thanks for plugin. I have an error compiling with cljs libraries dependencies:

resolvers ++= Seq(
        "clojars" at "http://clojars.org/repo/",
        "clojure-releases" at "http://build.clojure.org/releases"
)

val appDependencies = Seq("prismatic" % "schema" % "0.1.3")
(ns schema-examples
  (:require [schema.core :as s]))

(s/validate s/Number 42)
[error] c.g.j.jscomp - schema_examples:3: ERROR - required "schema.core" namespace never provided
goog.require('schema.core');
^

ERROR: JSC_MISSING_PROVIDE_ERROR. required "schema.core" namespace never provided at schema_examples line 3 : 0

sbt downloaded prismatic#schema;0.1.3!schema.jar, so it should be in classpath.

Comments (1)

  1. Log in to comment