Nate
Nate

Reputation: 1875

Meteor._wrapAsync has been renamed to Meteor.wrapAsync undefined

I have been getting the warning on meteor server start-up. Meteor._wrapAsync has been renamed to Meteor.wrapAsync undefined. Does anyone have any idea why?

Upvotes: 3

Views: 1858

Answers (3)

user2207415
user2207415

Reputation: 35

I am voting for cfs:standard-packages as the culprit, or maybe both of them, since the message occurs with either cfs.gridfs installed, or cfs:filesystem installed.

Upvotes: 1

lol
lol

Reputation: 4200

As of writing (8 March 2015) the package that is causing this is almost certainly CollectionFS. I use cfs:gridfs as the store, so it's out of that or cfs:standard-packages.

cfs:gridfs also has a warning against deployment because it's not production ready... Perhaps this is one of the issues and I hope the package gets some love soon or else I'll have to jump in LOL.

Upvotes: 5

saimeunt
saimeunt

Reputation: 22696

This is just to let you know that the previously undocumented API Meteor._wrapAsync has been renamed to Meteor.wrapAsync and officially documented : http://docs.meteor.com/#meteor_wrapasync

If you are not using directly this function in your own code, chances are that packages you are using call Meteor._wrapAsync themselves, if these packages are actively maintained, authors will fix them sooner or later.

Anyway, this is just a warning that won't impact your application, you shouldn't be alarmed because it's not going to break anything.

Upvotes: 6

Related Questions