Skip to content

Instantly share code, notes, and snippets.

@niftynei
Last active January 5, 2017 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niftynei/59ffcde029bb8d685d420925c99cec11 to your computer and use it in GitHub Desktop.
Save niftynei/59ffcde029bb8d685d420925c99cec11 to your computer and use it in GitHub Desktop.
reaction crash
Error: The global definition of Mongo.Collection has changed since the job-collection package was loaded. Please ensure that any packages that redefine Mongo.Collection are loaded before job-collection.
at JobCollectionBase [as constructor] (packages/vsivsi_job-collection/src/shared.coffee:88:17)
at new JobCollection (packages/vsivsi_job-collection/src/server.coffee:27:7)
at meteorInstall.node_modules.meteor.reactioncommerce:reaction-collections.common.collections.collections.js (packages/reactioncommerce:reaction-collections/common/collections/collections.js:202:33)
at fileEvaluate (packages/modules-runtime.js:181:9)
at require (packages/modules-runtime.js:106:16)
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/packages/reactioncommerce_reaction-collections.js:1483:1
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/packages/reactioncommerce_reaction-collections.js:1510:3
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/boot.js:295:34
at Array.forEach (native)
at Function._.each._.forEach (/home/niftynei/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/boot.js:128:5
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/boot.js:344:5
at Function.run (/home/niftynei/dev/reaction/.meteor/local/build/programs/server/profile.js:480:12)
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/boot.js:343:11
=> Exited with code: 1
This project is already at Meteor 1.4.2.3, the latest release.
Changes to your project's package version selections from updating package
versions:
blaze upgraded from 2.1.9 to 2.2.1
cosmos:browserify upgraded from 0.3.0 to 0.10.0
iron:middleware-stack upgraded from 1.0.11 to 1.1.0
iron:router upgraded from 1.0.12 to 1.0.13
ongoworks:bunyan-logger upgraded from 2.5.0 to 2.6.1
underscorestring:underscore.string upgraded from 3.2.3 to 3.3.4
The following top-level dependencies were not updated to the very latest
version available:
* aldeed:schema-index 1.1.1 (2.0.0 is available)
* ongoworks:security 1.3.0 (2.0.1 is available)
* reactioncommerce:reaction-paypal 1.2.8 (1.4.0 is available)
Newer versions of the following indirect dependencies are available:
* aldeed:collection2-core 1.2.0 (2.0.0 is available)
* aldeed:schema-deny 1.1.0 (2.0.0 is available)
* coffeescript 1.11.1_4 (1.12.0_1 is available)
* reactioncommerce:core 0.11.0 (0.12.2 is available)
* reactioncommerce:reaction-collections 1.0.4 (2.0.1 is available)
* reactioncommerce:reaction-schemas 1.0.4 (2.0.1 is available)
To update one or more of these packages, pass their names to
`meteor update`, or just run `meteor update --all-packages`.
@niftynei
Copy link
Author

niftynei commented Jan 5, 2017

/home/niftynei/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
throw(ex);
^

TypeError: Security.permit(...).collections(...).ifHasRole(...).ifShopIdMatches(...).exceptProps(...).allowInClientCode is not a function
at module.export.exports.default (server/security/collections.js:109:48)
at module.export.exports.default (server/security/index.js:5:3)
at server/main.js:7:3
at Function.time (/home/niftynei/dev/reaction/.meteor/local/build/programs/server/profile.js:301:28)
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/boot.js:304:13
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/boot.js:345:5
at Function.run (/home/niftynei/dev/reaction/.meteor/local/build/programs/server/profile.js:480:12)
at /home/niftynei/dev/reaction/.meteor/local/build/programs/server/boot.js:343:11
=> Exited with code: 1
22:10:41.262Z INFO Reaction: Load default data from /private/data/
22:10:41.794Z INFO Reaction: JobServer started
22:10:41.818Z WARN Reaction: Skipped loading settings from reaction.json.
Exception in setInterval callback: TypeError: AnalyticsEvents.permit(...).ifLoggedIn(...).allowInClientCode is not a function
at imports/plugins/included/analytics/server/security.js:14:53
at [object Object]..extend.withValue (packages/meteor.js:1122:17)
at packages/meteor.js:445:45
at runWithEnvironment (packages/meteor.js:1176:24)
Exception in setInterval callback: TypeError: AnalyticsEvents.permit(...).ifLoggedIn(...).allowInClientCode is not a function
at imports/plugins/included/analytics/server/security.js:14:53
at [object Object].
.extend.withValue (packages/meteor.js:1122:17)
at packages/meteor.js:445:45
at runWithEnvironment (packages/meteor.js:1176:24)
Exception in setInterval callback: TypeError: AnalyticsEvents.permit(...).ifLoggedIn(...).allowInClientCode is not a function
at imports/plugins/included/analytics/server/security.js:14:53
at [object Object]..extend.withValue (packages/meteor.js:1122:17)
at packages/meteor.js:445:45
at runWithEnvironment (packages/meteor.js:1176:24)
Exception in setInterval callback: TypeError: AnalyticsEvents.permit(...).ifLoggedIn(...).allowInClientCode is not a function
at imports/plugins/included/analytics/server/security.js:14:53
at [object Object].
.extend.withValue (packages/meteor.js:1122:17)
at packages/meteor.js:445:45
at runWithEnvironment (packages/meteor.js:1176:24)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment