deepwell / meteor-raven

Raven/Sentry integration package for Meteor
29 stars 10 forks source link

ReferenceError: Raven is not defined when used in Meteor 1.0 package #11

Open jiku opened 9 years ago

jiku commented 9 years ago

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?

deepwell commented 9 years ago

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?