简体   繁体   中英

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?

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.

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.

我投票支持cfs:standard-packages作为罪魁祸首,或者两者兼而有之,因为消息是在安装了cfs.gridfs或安装了cfs:filesystem的情况下发生的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM