I have some code in init.js under the "lib" folder to take an event from the web3/ethereum package and store it in a collection. I've included the contextual information about web3/ethereum.
var events = contract_instance.allEvents();
var event_object_value1 = event.args.value1;
//everything up to this point works fine. event_object is in a json format.
//inserting the value into a collection on the server side like this is what causes the error.
The last line produces the Meteor code must always run within a Fiber.error. Normally, I would insert using a Meteor Method, but I suspect I would get the same error when actually doing the insert.
I haven't been able to get my code within a fiber correctly. I've tried to follow this example here, but I think it's just way to above my understanding of Meteor: https://meteorhacks.com/fibers-eventloop-and-meteor/