Meteor 1.0.4 crashing with Npm.require('fibers/future')


#1

Hey!

Just tried upgrading from 1.0.3.2 to 1.0.4.1. Got the well know error

Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.

and a stack trace without reference to any of our app’s code, only to meteor packages. Took me a while to debug but it came down to a single line in one of our packages.

var Future = Npm.require('fibers/future');

When I removed that it started working again under 1.0.4.1.

In package.js I had

Npm.depends({ 'fibers': '1.0.2', });

Just a heads up if anyone else runs into this issue.

Thanks for all the great update in 1.0.4!

Ciao


#2

This should be in the help category not announce.