Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Error when running example on mobile browser

  • Hi,

    I’ve downloaded the quickstart example for Onsen v2. When I run it in the web browser it works perfectly but when I try it on a mobile browser it says:

    Uncaught illegal access ons.js:207
    Uncaught TypeError: Cannot read property 'lock' of undefined angular-onsenui.js:357

    However, it also works when I simulate “mobile” with Google Developer Tools.

    Anyone with similar problem? Thank you!

    / Marcus