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.

onsenui.min.js:2 Uncaught Error: [Onsen UI] Page template not found: home.html

  • Hello,

    I’m following the Onsen UI tutorial page and I’m stuck at the “Multiple Files” section.

    I followed the tutorial and moved my <ons-page>home</ons-page> content to home.html, and removed the template inside my index.html, but I get onsenui.min.js:2 Uncaught Error: [Onsen UI] Page template not found: home.html

    Here’s my code:


    <!DOCTYPE html>
    <html lang="en">
    	<meta charset="UTF-8">
    	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    	<link rel="stylesheet" href="">
    	<link rel="stylesheet" href="">
    	<script src=""></script>
    	<ons-navigator id="navigator">
        <div style="text-align: center; margin-top: 200px">
          <ons-input id="username" placeholder="Username" modifier="underbar"></ons-input>
          <ons-button onclick="login()">Sign in</ons-button>
    	const login = () => {
      const username = document.querySelector('#username').value;
      const password = document.querySelector('#password').value;
      if (username === 'user' && password === 'pass') {
        // call the navigator to move to the new page
        const navigator = document.querySelector('#navigator');
      } else {
        ons.notification.alert('Wrong username/password combination');

    My home.html

    <ons-page id="home">

    What could be the issue? Thank you!