Meteor not detecting new files

I’m trying to follow the official tutorial (using Blaze), but I’m getting this error:

Here are the steps I’m following: Meteor

It works fine if I restart the server.

How can I fix this?

I have the same problem.

  • 1

Show us your folder/file structure. Where do you import that file ? Where is that file located ? :slight_smile:

I’m just copying the tutorial, but here it is:

import '../imports/ui/body.js';
import { Template } from 'meteor/templating';
import './body.html';
  tasks: [
    { text: 'This is task 1' },
    { text: 'This is task 2' },
    { text: 'This is task 3' },

And finally the html file:

  <div class="container">
      <h1>Todo List</h1>
      {{#each tasks}}
        {{> task}}
<template name="task">
<template name="task">

Fix is:

I’m still getting the same error.

Someone with the same problem:

meteor update --release

Use that version until they fix it. I see now what you mean… this sucks!

Ah, thought it was intended to separate helpers from other code. If you create that file it does actually work and that file gets loaded as well.

It works! Thanks! :grin:

I was about to give up.

I hope they fix it soon…

I get the same error, I found that NOT upgrading to 1.4.2 fixed the problem; staying on has been working so far.

Please try this again after running

meteor update --release

in an existing app, or

meteor create --release your-new-app

to create a new app using the latest beta version.