Reputation: 19
I would guess this is a simple one, but being new, it's got me.
I've created the simple-todos app and it runs fine, displaying on localhost:3000. As soon as I update the html and JS in step 2 of the tutorial and run it I get:
Errors prevented startup:
While processing files with templating (for target web.browser): simple-todos.html:1: Can't set DOCTYPE here. (Meteor sets for you)
Your application has errors. Waiting for file change.
I'm on a mac using textedit. See here: https://www.meteor.com/tutorials/blaze/templates
Upvotes: 1
Views: 129
Reputation: 705
I believe you have a tag like this
<!DOCTYPE html>
Delete this and tags if you have.
If you give us a pastebin-link with your simple-todos.html, we will see the error.But Meteor tells you, the error is in the 1st line in simple-todos.html
Upvotes: 0