Meteor 0.6.5更新:下划线错误

use*_*877 3 underscore.js meteor

我最近将我的meteor应用程序更新为0.6.5,我注意到下划线包不再工作了.错误日志是:

W20130814-20:31:26.431(-3)? (STDERR) /home/mariano/.meteor/tools/4010e5731d/lib/node_modules/fibers/future.js:173
W20130814-20:31:26.494(-3)? (STDERR)                        throw(ex);
W20130814-20:31:26.494(-3)? (STDERR)                              ^
W20130814-20:31:26.494(-3)? (STDERR) ReferenceError: _ is not defined
W20130814-20:31:26.496(-3)? (STDERR)     at Package (packages/meteor-file/meteor-file.js:92)
W20130814-20:31:26.496(-3)? (STDERR)     at packages/meteor-file.js:120:4
W20130814-20:31:26.496(-3)? (STDERR)     at packages/meteor-file.js:127:3
W20130814-20:31:26.496(-3)? (STDERR)     at mains (/home/mariano/borrar/blocnotas/.meteor/local/build/programs/server/boot.js:153:10)
W20130814-20:31:26.497(-3)? (STDERR)     at Array.forEach (native)
W20130814-20:31:26.497(-3)? (STDERR)     at Function._.each._.forEach (/home/mariano/.meteor/tools/4010e5731d/lib/node_modules/underscore/underscore.js:79:11)
W20130814-20:31:26.497(-3)? (STDERR)     at /home/mariano/borrar/blocnotas/.meteor/local/build/programs/server/boot.js:80:5
Run Code Online (Sandbox Code Playgroud)

谢谢你的帮助

小智 7

如果您使用的是氛围(即mrt)包,则可能需要降级到0.6.4.1,直到包作者有机会更新为0.6.5的新包API.您可以在此处找到相关说明 - https://groups.google.com/d/topic/meteor-talk/BbrjGcGGIzc/discussion

希望有所帮助!