meteor-raven
meteor-raven copied to clipboard
ReferenceError: Raven is not defined when used in Meteor 1.0 package
With api.use('deepwell:raven'); in packages/my:package/package.js on Meteor 1.0 I'm getting
W20141106-21:00:15.256(1)? (STDERR) ReferenceError: Raven is not defined W20141106-21:00:15.256(1)? (STDERR) at Object.initialize (packages/deepwell:raven/lib/main.js:27)
from RavenLogger.initialize (in packages/my:package/my:package.coffee). Any idea why?
The error means the package didn't properly install the npm module "raven" (a required dependency).
After adding api.use('deepwell:raven'); did you try telling Meteor to install your package "meteor add my:package" which should go through the full install process and find and install the raven dependency?