Fork me on GitHub
#clojurescript
<
2016-03-27
>
akjetma00:03:17

anybody have any experience with this crazy error message?

Uncaught TypeError: (intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(...) is not a function
it is happening when i try to compile a project that uses cljsjs.codemirror. I’ve narrowed it down to the requirement of the library (commented out all code related to it, didn’t get the error, uncommented only the require, got the error) but can’t recreate it outside of the project i need it for (made an empty project w/same clojurescript and cljsbuild that just requires and uses it and it is working fine).

akjetma00:03:32

happens right at startup

akjetma00:03:21

for any build with optimizations other than :none

fasiha03:03:28

@pauldelany: did what you said (`lein new…`, add the project to project.clj, require the lib in core.cljs, and it's working fine for me? I can (GET "…" {:handler …}) just fine too?

adamkowalski03:03:39

what do you guys use when you want to display clojurescript code on the browser? right now I am just wrapping it in pre and code tags but I don’t get any syntax highlighting

richiardiandrea04:03:28

@adamkowalski if you want just to highlight, highlightjs is pretty easy to use from ClojureScript and there also is a cljsjs package

adamkowalski04:03:50

awesome, thank you very much simple_smile

adamkowalski05:03:02

is lein-npm the best way to use npm modules in cljs https://github.com/RyanMcG/lein-npm

octahedrion05:03:56

@adamkowalski: well, good point! I'm using Garden atm and it does everything I need

pauldelany09:03:32

@fasiha: thanks for confirming... sounds like something broken in my setup. Will try another machine to confirm.

denik15:03:01

has anyone played with react motion in clojurescript?

ddellacosta21:03:41

I’m trying to manually integrate CLJS with an app and I’m seeing some stuff I don’t understand: TypeError: goog.debug.Logger is undefined and TypeError: goog.log.getLogger is not a function in my console.

ddellacosta21:03:50

am I doing something obviously wrong?

ddellacosta21:03:22

for context, I’m basically just following the instructions here—this started showing up after included the necessary goog.require() call here: https://github.com/clojure/clojurescript/wiki/Quick-Start#google-closure-library