Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

ClojureScript/Om: Spurious “Minified exception occured” With Advanced Optimizations

DZone's Guide to

ClojureScript/Om: Spurious “Minified exception occured” With Advanced Optimizations

· Performance Zone ·
Free Resource

Sensu is an open source monitoring event pipeline. Try it today.

After having upgraded to Om 0.6.3. and ClojureScript 2197, I suddenly got the following error in the browser when loading the .js compiled with :optimizations :advanced:

Uncaught Error: Minified exception occured; use the non-minified dev environment for the full error message and additional helpful warnings.

In the dev mode, i.e. without any optimizations, the code worked just fine – the same thing that Frozenlock has experienced.

After downgrading, removing Om, and upgrading again it suddnely dissapeared and now Om 0.6.3. and ClojureScript 2197 work just fine. So I suppose that after having changed the versions, I should have properly deleted all generated files (and not just my myapp.min.js).

I hope this helps to somebody.

Sensu: workflow automation for monitoring. Learn more—download the whitepaper.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}