BABEL Note: The code generator has deoptimised the styling of “app.js” as it exceeds the max of “100KB in Meteor

This is not a real issue. Just a warning. When babel compiles some code, it try to offer a readable output, but when files become big (>100KB), babel considers (by default) that it’s not useful to keep this option enabled (because yes it’s an option, see https://stackoverflow.com/a/30879872/988941 for more information). It’s not a problem to … Read more

How do I delete or remove Session variables?

[note: this answer is for Meteor 0.6.6.2 through at least 1.1.0.2] [edit: updated to also explain how to do this while not breaking reactivity. Thanks to @DeanRadcliffe, @AdnanY, @TomWijsman, and @MikeGraf !] The data is stored inside Session.keys, which is simply an object, so you can manually delete keys: Session.set(‘foo’, ‘bar’) delete Session.keys[‘foo’] console.log(Session.get(‘foo’)) // … Read more

Accessing Meteor production database

You should use meteor mongo http://blah.meteor.com; or even shorter meteor mongo blah.meteor.com. For documentation you can run meteor help mongo. Extract from running the help command above: Instead of opening a shell, specifying –url (-U) will return a URL suitable for an external program to connect to the database. For remote databases on deployed applications, … Read more

How to make an API call using meteor

You are defining your checkTwitter Meteor.method inside a client-scoped block. Because you cannot call cross domain from the client (unless using jsonp), you have to put this block in a Meteor.isServer block. As an aside, per the documentation, the client side Meteor.method of your checkTwitter function is merely a stub of a server-side method. You’ll … Read more

How many concurrent users can a web app built in Meteor.js handle? [closed]

UPDATE ClassCraft reports one Meteor server handling 6400 concurrent users. Read more in the Scalability section of my Why Meteor article. See also the forum post How Many Simultaneous Users Does the Biggest Current Meteor App Support? Here’s a benchmark not exactly about concurrent users, but rather about setting up subscriptions (arguably a more stressful … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)