[NodeJS] throws window is not defined
akiroz opened this issue · comments
akiroz commented
When used in NodeJS, the library throws window is not defined
unless advanced compilation is used.
Antonin Hildebrand commented
Ah, I haven't really tested this under NodeJS.
Most likely the problem will be this line:
cljs-oops/src/lib/oops/codegen.clj
Line 233 in f4b7703
It is a helper code to present problem details via cljs-devtools "envelope".
You can probably work around it by setting :runtime-use-envelope
config option to false
.
cljs-oops/src/lib/oops/defaults.clj
Line 40 in f4b7703