user3795202 user3795202 - 2 months ago 16
Node.js Question

Exposing Meteor to Global namespace

Using Meteor I used to be able to open up the console and directly call Meteor methods.

console.log(Meteor.userId())


Now I get a reference error that Meteor is not defined. How do I go about exposing the Meteor object?

Answer

Just open console and refresh the page (with opened console), then Meteor will be available