Closed danielsz closed 7 years ago
What is the data that is actually being sent? I would try by removing Sente from the equation and just use the serialiser Sente is using to see if this continues?
That is good advice. To be honest, I think it's unlikely sente
has anything to do with it.
I'll prepare a repo with a minimal scenario if need be.
Thank you!
Turned out to be the output-wrapper
compiler option not being set to true
. This is a landmine, and we'll try to change the default in our build tools.
Sorry for the noise.
https://github.com/boot-clj/boot-cljs/wiki/Troubleshooting https://github.com/boot-clj/boot-cljs/issues/64
Hi Peter,
Weird error that creeps up under advanced compilation only.
The event being sent is a map that contains a custom tag. Data readers are provided to handle it, and it works fine when compiling cljs with no optimizations.
Under advanced compilation, I most often see this message (but not always).
The code for the serializer is here. The data reader is here.
I'm stumped. Any idea how to debug this? Thank you!