Turns out that these errors are not actually breaking the require process, they should really be warnings not errors.
On 16 August 2015 at 22:51, Mike Fikes <[email protected]> wrote: > On Sunday, August 16, 2015 at 10:37:24 AM UTC-4, Matthew Molloy wrote: > > I can successfully require files using cljs.js/require. Requiring > clojure.string and clojure.set fails with the message > > > > {:error #error {:message ERROR, :data {:tag :cljs/analysis-error}, > :cause #object[Error Error: Namespace "clojure.set" already declared.]}} > > > > These two namespaces fail because they are already required by cljs.js > itself. Anybody else had this issue? > > Previously, Planck made use of cljs.js/require and it could successfully > load clojure.set > > https://github.com/mfikes/planck/issues/23 > > Feel free to take a look at how version 1.3 was making use of > cljs.js/require. > > Requiring clojure.string causes two issues. > > 1) You need an index for Google Closure. > 2) You will encounter http://dev.clojure.org/jira/browse/CLJS-1330 > > See https://github.com/mfikes/planck/issues/28 > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
