vsivsi / meteor-job-collection

A persistent and reactive job queue for Meteor, supporting distributed workers that can run anywhere.
https://atmospherejs.com/vsivsi/job-collection
Other
388 stars 68 forks source link

Can't work with meteor 1.6.1-beta.12+ #266

Open shenrenguo opened 6 years ago

shenrenguo commented 6 years ago

TypeError: Class constructor Collection cannot be invoked without 'new'

vsivsi commented 6 years ago

Hi, thanks for reporting, but I need specific, detailed steps to reproduce this error.

shenrenguo commented 6 years ago

@vsivsi the example project can reproduce the error https://github.com/shenrenguo/ex-meteor-1.6.1-beta.21

brookback commented 6 years ago

Same error here, the Meteor app refuses to build.

TypeError: Class constructor JobQueue cannot be invoked without 'new'
W20180207-16:40:24.633(1)? (STDERR)     at jobs.js
vsivsi commented 6 years ago

Right, isn't this just the CoffeeScript 2 issue addressed here?

https://github.com/vsivsi/meteor-job-collection/pull/268

sprohaska commented 6 years ago

I've observed an issue with Meteor 1.6.1 that is independent of CoffeeScript 2, see https://github.com/meteor/meteor/issues/9706 for problem and possible workaround.