[MomentMobile] Minified exception occurred

Forge Component
Published on 5 Feb by Eduardo Benites
3 votes
Published on 5 Feb by Eduardo Benites


We are using this component in our mobile app for calendar functionality but we have this error when page is loaded:

On our mobile app we have this error:

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

It is related to React environment settings. Is there a way to control this setting or this is a conflict between platform and some scripts? 

Thank you

Do you know when this error occurs? Which action is being called?

Hi Mykola,

The console show any error?

I don't think that this problem is caused by the momentwithlocales javascript; because this code isn't minified.


We've managed to get rid of the problem. Error message is only shows up if the web block is inside "if" statement, otherwise the error silently appears on console. 

As I see the problem is maybe not related to our code but the fact that if block (it is also a dependency from another espace) throws an exception and it is inside "if" statement it shows exception message even if no exception handler action is set up on the screen.


Fortunately you have found a solution for this problem. The calender functionality looks good! Are you going to share it in the Forge?

Kind regards,


Probably not as it is part of project for a client.