FlowRouter is not defined in individual templates

Using Meteor, I started with a default Meteor project with… meteor create –full I added a route, in router.js, like so: FlowRouter.route(‘/group/:_id’, { name: ‘App.groups.show’, action() { …

Blaze template, loop through fields?

I have been unable to find reference to any shortcut that might be available to loop through fields that are named “week01”, “week02”, “week03” where I could reference …

Meteor server throws error with Accounts.addEmail() in a meteor method

I need help figuring out why I am getting this error. My method is defined in app/server/methods.js Meteor.methods({ myMethod: function(user) { Accounts.addEmail(user._id, “thisemail@…

Error: Failed to execute ‘insertBefore’ on ‘Node’

I tried to insert

containers around the {{#each}} but it didn’t work as well. Its also odd because it works for 2 normal posts list pages, but not for the 3rd one which sorts them by …

Why is this basic Meteor create project command failing?

At the Windows 7 command prompt, I entered “meteor create blogtest” which should create a Meteor project. I get, though, a Windows Script Host MS JScript runtime error, namely Code 800A1391, …

Meteor Velocity with Jasmine not returning expecting result?

I’m trying to test the following which works manually: Return a list of users as

‘s Click a button to reduce that count of

‘s by one. This does not seem to be working: it(“…

“continue” in cursor.forEach()

I’m building an app using meteor.js and MongoDB and I have a question about cursor.forEach(). I want to check some conditions in the beginning of each forEach iteration and then skip the element if I …

Access user email address in Meteor JS app

I am building an app using Meteor and need to access the stored email address of a logged-in user. I am currently using: var userObj = Meteor.user(); console.log(userObj); to access the user. …