Wylio / meteor-winston-papertrail

A Winston Papertrail transport for Meteorite on top of Meteor.
2 stars 0 forks source link

Errors when running iOS app #7

Closed elie222 closed 8 years ago

elie222 commented 8 years ago

The app runs fine locally usually, but I get the following error message when running meteor run ios in my terminal I get:

/Users/.../.meteor/packages/meteor-tool/.1.3.0_3.zmjemc++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160404-00:31:19.876(3)? (STDERR)                         throw(ex);
W20160404-00:31:19.876(3)? (STDERR)                               ^
W20160404-00:31:20.195(3)? (STDERR) ReferenceError: log is not defined

Why would running for Cordova cause this problem?

elie222 commented 8 years ago

Solved the problem.

I usually run my code with a settings file, but didn't when running for iOS. I needed to run meteor run ios --settings settings.local.json to make it work.