xolvio / meteor-backdoor

Meteor method that allows you to run arbitrary code on the server
8 stars 8 forks source link

Client: Uncaught ReferenceError: Npm is not defined #2

Closed firrae closed 8 years ago

firrae commented 8 years ago

The package throws said error on the client on load even when Chimp is not running. Stack trace shows the error is from 'packages/xolvio_backdoor/server.js'.

firrae commented 8 years ago

Potentially this just needs to be wrapped in a Meteor.isServer check?

ghost commented 8 years ago

Should be fixed with 0.1.1 (https://github.com/xolvio/meteor-backdoor/commit/9b1768afd731852da590e8abe4145c50fd38e89a)