{"action":"created","issue":{"url":"https://api.github.com/repos/meteor-velocity/velocity/issues/200","labels_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/200/comments","events_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/200/events","html_url":"https://github.com/meteor-velocity/velocity/issues/200","id":50905297,"number":200,"title":"Error: use \"new\" to construct a Mongo.Collection","user":{"login":"samhatoum","id":2021955,"avatar_url":"https://avatars.githubusercontent.com/u/2021955?v=3","gravatar_id":"","url":"https://api.github.com/users/samhatoum","html_url":"https://github.com/samhatoum","followers_url":"https://api.github.com/users/samhatoum/followers","following_url":"https://api.github.com/users/samhatoum/following{/other_user}","gists_url":"https://api.github.com/users/samhatoum/gists{/gist_id}","starred_url":"https://api.github.com/users/samhatoum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhatoum/subscriptions","organizations_url":"https://api.github.com/users/samhatoum/orgs","repos_url":"https://api.github.com/users/samhatoum/repos","events_url":"https://api.github.com/users/samhatoum/events{/privacy}","received_events_url":"https://api.github.com/users/samhatoum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-12-03T22:58:38Z","updated_at":"2015-02-22T21:26:18Z","closed_at":"2014-12-12T15:33:23Z","body":"This issue is to track the issue that was posted in 5 other places (see below)\r\n\r\n```\r\n$ meteor add mike:mocha\r\n  added meteorhacks:kadira-binary-deps at version 1.3.1\r\n  added meteorhacks:meteorx at version 1.2.1  \r\n  added meteorhacks:kadira at version 2.15.2  \r\n  added velocity:shim at version 0.0.3        \r\n  added mike:mocha at version 0.4.6           \r\n  added velocity:html-reporter at version 0.3.1\r\n  added velocity:core at version 0.4.1        \r\n  added velocity:test-proxy at version 0.0.4  \r\n  added velocity:node-soft-mirror at version 0.0.9\r\n\r\nmike:mocha: Run mocha tests in the browser    \r\nmaxMBP:whiterabbitexpress maxhodges$ ./start  \r\n==============================================\r\n Starting WHITE RABBIT EXPRESS in development\r\n==============================================\r\nwarning: still trying to confirm logout with www.meteor.com\r\n[[[[[ ~/Documents/github/whiterabbitexpress ]]]]]\r\n\r\n=> Started proxy.                             \r\n=> Started MongoDB.                           \r\nI20141203-18:08:12.797(9)? Kadira: completed instrumenting the app\r\nI20141203-18:08:12.874(9)? Meteor._wrapAsync has been renamed to Meteor.wrapAsync\r\nW20141203-18:08:13.023(9)? (STDERR) \r\nW20141203-18:08:13.024(9)? (STDERR) /Users/maxhodges/.meteor/packages/meteor-tool/.1.0.35.1mc0iji++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173\r\nW20141203-18:08:13.024(9)? (STDERR)                                             throw(ex);\r\nW20141203-18:08:13.024(9)? (STDERR)                                                   ^\r\nW20141203-18:08:13.056(9)? (STDERR) Error: use \"new\" to construct a Mongo.Collection\r\nW20141203-18:08:13.056(9)? (STDERR)     at new Mongo.Collection (packages/mongo/collection.js:29)\r\nW20141203-18:08:13.056(9)? (STDERR)     at packages/velocity:core/collections.js:11\r\nW20141203-18:08:13.056(9)? (STDERR)     at /Users/maxhodges/Documents/github/whiterabbitexpress/.meteor/local/build/programs/server/packages/velocity_core.js:74:4\r\nW20141203-18:08:13.056(9)? (STDERR)     at /Users/maxhodges/Documents/github/whiterabbitexpress/.meteor/local/build/programs/server/packages/velocity_core.js:1254:3\r\nW20141203-18:08:13.056(9)? (STDERR)     at /Users/maxhodges/Documents/github/whiterabbitexpress/.meteor/local/build/programs/server/boot.js:168:10\r\nW20141203-18:08:13.057(9)? (STDERR)     at Array.forEach (native)\r\nW20141203-18:08:13.057(9)? (STDERR)     at Function._.each._.forEach (/Users/maxhodges/.meteor/packages/meteor-tool/.1.0.35.1mc0iji++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)\r\nW20141203-18:08:13.070(9)? (STDERR)     at /Users/maxhodges/Documents/github/whiterabbitexpress/.meteor/local/build/programs/server/boot.js:82:5\r\n=> Exited with code: 8\r\n```\r\n\r\n\r\n\r\nhttps://github.com/mad-eye/meteor-mocha-web/issues/105\r\nhttps://github.com/Sanjo/meteor-jasmine/issues/89\r\nhttp://stackoverflow.com/questions/27267626/error-use-new-to-construct-a-mongo-collection\r\nhttp://www.meteortesting.com/chapter/velocity#comment-1723393898\r\nhttps://groups.google.com/forum/#!topic/meteor-talk/zW-tDuh_F2g"},"comment":{"url":"https://api.github.com/repos/meteor-velocity/velocity/issues/comments/75461024","html_url":"https://github.com/meteor-velocity/velocity/issues/200#issuecomment-75461024","issue_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/200","id":75461024,"user":{"login":"Sanjo","id":727955,"avatar_url":"https://avatars.githubusercontent.com/u/727955?v=3","gravatar_id":"","url":"https://api.github.com/users/Sanjo","html_url":"https://github.com/Sanjo","followers_url":"https://api.github.com/users/Sanjo/followers","following_url":"https://api.github.com/users/Sanjo/following{/other_user}","gists_url":"https://api.github.com/users/Sanjo/gists{/gist_id}","starred_url":"https://api.github.com/users/Sanjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sanjo/subscriptions","organizations_url":"https://api.github.com/users/Sanjo/orgs","repos_url":"https://api.github.com/users/Sanjo/repos","events_url":"https://api.github.com/users/Sanjo/events{/privacy}","received_events_url":"https://api.github.com/users/Sanjo/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T21:26:18Z","updated_at":"2015-02-22T21:26:18Z","body":"You can make matb33:collection-hooks a weak dependency of your package. This way your package will load after matb33:collection-hooks when it is present. See http://docs.meteor.com/#/full/pack_use (options: weak)"}}