I actually do not know where to start checking as I don’t use any “$natural” variable or value in my code. It might be one of the packages but when I searched my entire project, I cannot find it.
I turned off oplog tailing as of now while I search for solutions or maybe the source of the problem
I’ve been scratching my head for days now and I didn’t even have a clue on where to start debugging.
Learning new things with Meteor everyday.
P.S. I also realized that I need to improve my error logging as it failed to capture the stack trace that should have given me the information about what you have just posted.
I’ve had wild success with building a brand new project space, and importing my files there. Especially coming from development, where i’m constantly installing / removing packages like mad.
You might try deleting your .meteor/cache/… bundler? That thing always gives me trouble. Then rebuild your package and try again.
I wonder if it’s how you’re connecting to OpLog?
Are you using an environment variable? Where are you hosting your DB?
(I ask because I’m qued to upgrade to 1.6 very soon, and I use opLog HEAVILY).
@SkyRooms, there is a big probability that this ain’t an issue with 1.6. I didn’t run oplog tailing with 1.5 so I wasn’t able to test it (no opportunity to test 1.5). I have a hunch that an old package was causing the error but I’m traveling so no chance yet to test. I’ll post an update once I pinned the issue
@brucejo, I wasn’t using it so it should be one of the packages I’m using. I’m going to add/remove packages one by one to figure out what’s causing it.
My hunch: the job-collection package. I’m now thinking to use node-cron instead and just create a simpler admin panel page to handle background jobs (didn’t know that job collection was no longer actively maintained)
I ended up removing the jobs package because it was 1/3 of the size of my app. It doesn’t support dynamic import and the package was no longer maintained.
I ended up using bee-queue. Small size with same major features