arunoda / laika

testing framework for meteor
http://arunoda.github.io/laika/
MIT License
242 stars 38 forks source link

Fiber error on startup #136

Open mhhf opened 10 years ago

mhhf commented 10 years ago

I get an Fiber error when I try to set up Laika(0.3.7, devel) with my current Projekt.

[app touch log] W20140625-14:03:09.724(2)? (STDERR) Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
W20140625-14:03:09.725(2)? (STDERR)     at Object.Meteor._nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9)
[app touch log] W20140625-14:03:09.725(2)? (STDERR)     at _.extend.get (packages/meteor/dynamics_nodejs.js:21)
[app touch log] W20140625-14:03:09.727(2)? (STDERR)     at Object.DDP.randomStream (packages/livedata/random_stream.js:69)
[app touch log] W20140625-14:03:09.728(2)? (STDERR)     at self._makeNewID (packages/mongo-livedata/collection.js:50)
[app touch log] W20140625-14:03:09.730(2)? (STDERR)     at Meteor.Collection.(anonymous function) (packages/mongo-livedata/collection.js:390)
[app touch log] W20140625-14:03:09.731(2)? (STDERR)     at Meteor.Collection.(anonymous function) [as insert] (packages/collection2/collection2.js:275)
[app touch log] W20140625-14:03:09.732(2)? (STDERR)     at createLogMessage (packages/server-eval/helpers.js:115)
[app touch log] W20140625-14:03:09.733(2)? (STDERR)     at Socket.stdout.write (packages/server-eval/helpers.js:142)
[app touch log] W20140625-14:03:09.735(2)? (STDERR)     at Console.log (console.js:53:16)
[app touch log] W20140625-14:03:09.736(2)? (STDERR)     at Server.<anonymous> (app/server/meteor-suite-server.js:43:13)
[app touch log] => Exited with code: 8

I use Fibers within my project, which maybe could cause this problem. With other projects, Laika works fine, out of the box! Is there a solution or some workaround for this?