获取异常Mongo未在我的自定义包
中定义ABC = new Mongo.Collection('ABC');
W20140905-17:49:06.809(5.5)? (STDERR) /home/sandeep/.meteor/packages/meteor-tool/.1.0.27.18sl1cs++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/lib/node_modules/fibers/future.js:173
W20140905-17:49:06.809(5.5)? (STDERR) throw(ex);
W20140905-17:49:06.810(5.5)? (STDERR) ^
W20140905-17:49:06.810(5.5)? (STDERR) ReferenceError: Mongo is not defined
答案 0 :(得分:17)
您需要列出package.js
文件中使用的所有软件包:
Package.onUse(function (api) {
api.use('mongo', ['client', 'server']);
...
});
答案 1 :(得分:0)
同时检查你的高清上是否有空间,这是我的问题。