Iron router: Error: Couldn't find a template named “/” or “”. Are you sure you defined it?
问题 I have trouble setting up a simple iron:router example: (docs, sample app) meteor create testapp cd testapp home.html : <template name="Home"> <h1>Welcome</h1> home </template> router.js : Router.route('/', function () { this.render('Home'); // Also tried 'home' }); Starting the server: meteor Then I get (client side): Exception from Tracker recompute function: Error: Couldn't find a template named "/" or "". Are you sure you defined it? at null._render (http://localhost:3000/packages/iron