cognitect / transit-cljs

Transit for ClojureScript
http://transit-format.org
Apache License 2.0
324 stars 21 forks source link

Error compiling #6

Closed lackita closed 9 years ago

lackita commented 9 years ago

When I run "lein cljsbuild once" I get the following errors:

WARNING: No such namespace: com.cognitect.transit.eq at line 15 file:/Users/cwilliams/.m2/repository/com/cognitect/transit-cljs/0.8.199/transit-cljs-0.8.199.jar!/cognitect/transit.cljs
WARNING: No such namespace: com.cognitect.transit.types at line 15 file:/Users/cwilliams/.m2/repository/com/cognitect/transit-cljs/0.8.199/transit-cljs-0.8.199.jar!/cognitect/transit.cljs
WARNING: No such namespace: com.cognitect.transit at line 15 file:/Users/cwilliams/.m2/repository/com/cognitect/transit-cljs/0.8.199/transit-cljs-0.8.199.jar!/cognitect/transit.cljs

Then when I try to load the compiled file, I get this error:

[Error] goog.require could not find: com.cognitect.transit.eq
require (sheet.js, line 108)
global code (sheet.js, line 28738)
[Error] Error: goog.require could not find: com.cognitect.transit.eq
require (sheet.js, line 110)
global code (sheet.js, line 28738)

A couple of details that might be relevant:

swannodette commented 9 years ago

What version of ClojureScript are you attempting to use?

lackita commented 9 years ago

0.0-2173

swannodette commented 9 years ago

@lackita that's a pretty old version of compiler I don't think Google Closure style JavaScript libraries can be loaded off the classpath. The transit-cljs specifies ClojureScript 0.0-2371 as a minimum.

lackita commented 9 years ago

Thanks, I guess I accidentally specified an old version.