I\'m trying to use Braintree in my Meteor application, and I\'ve made a local package of this Braintree packaging, following the instructions of this blog post on the subject, a
Server packages require that symbols used outside of the package be exported with api.export
. It looks like the package you referenced was built prior to meteor v0.6.5. As I recall, this video on EventedMind explains how all of this works. I suspect the solution to your problem is just to make your package.js
look something like:
Package.on_use(function (api) {
api.export('Braintree');
api.use(...);
api.add_files(...);
});