流星在 0.6.5 之前工作,但自从我更新后就停止工作了。什么会导致这个错误?请注意,我假设是最新的条纹、纤维和流星。
> npm ls stripe
/path/to/project
└── stripe@1.3.0
> npm -g ls fibers
/usr/local/lib
└── fibers@1.0.1
> meteor --version
Release 0.6.5.1
> meteor
[[[[[ /path/to/project ]]]]]
=> Meteor server running on: http://localhost:3000/
W20130909-13:34:19.787(-7)? (STDERR) /Users/pabo/.meteor/tools/3cba50c44a/lib/node_modules/fibers/future.js:173
W20130909-13:34:19.867(-7)? (STDERR) throw(ex);
W20130909-13:34:19.867(-7)? (STDERR) ^
W20130909-13:34:19.868(-7)? (STDERR) ReferenceError: require is not defined
W20130909-13:34:19.868(-7)? (STDERR) at app/node_modules/stripe/test/charges.js:1:47
W20130909-13:34:19.868(-7)? (STDERR) at app/node_modules/stripe/test/charges.js:65:3
W20130909-13:34:19.868(-7)? (STDERR) at mains (/path/to/project/.meteor/local/build/programs/server/boot.js:153:10)
W20130909-13:34:19.868(-7)? (STDERR) at Array.forEach (native)
W20130909-13:34:19.869(-7)? (STDERR) at Function._.each._.forEach (/Users/pabo/.meteor/tools/3cba50c44a/lib/node_modules/underscore/underscore.js:79:11)
W20130909-13:34:19.869(-7)? (STDERR) at /path/to/project/.meteor/local/build/programs/server/boot.js:80:5
=> Exited with code: 1