meteor-starter icon indicating copy to clipboard operation
meteor-starter copied to clipboard

Load order bug: comments and matb33:collection-hooks packages

Open brylie opened this issue 9 years ago • 4 comments

There are a few open bugs describing an indirect error involving Tabular when the matb33:collection-hooks package is installed..

Error: Tabular.Table options must specify collection
     at new Tabular.Table (packages/aldeed:tabular/common.js:20:1)
     at packages/yogiben:admin/lib/both/startup.coffee:100:27
     at Function._.each._.forEach (packages/underscore/underscore.js:113:1)
     at adminCreateTables (packages/yogiben:admin/lib/both/startup.coffee:77:4)
     at __coffeescriptShare (packages/yogiben:admin/lib/both/startup.coffee:178:2)
     at /home/.../.meteor/local/build/programs/server/boot.js:229:5

After troubleshooting the error, I found that it can be resolved by editing .meteor/packages and placing matb33:collection-hooks above the comments package.

brylie avatar Jul 06 '15 09:07 brylie

Here is a diff comparing the broken and fixed versions.

brylie avatar Jul 06 '15 09:07 brylie

I had figured this out for someone else not long ago... Sorry you had to go through this debugging exercise as well... https://github.com/matb33/meteor-collection-hooks/issues/125#issuecomment-109015219

matb33 avatar Jul 06 '15 12:07 matb33

I don't have comments package for Meteor 1.3 :( what do I do, @brylie ?

artgo avatar Mar 04 '17 20:03 artgo