oortcloud / node-ddp-client

A callback style DDP (Meteor's Distributed Data Protocol) node client.
Other
263 stars 80 forks source link

Error: process.nextTick is not a function #68

Closed Sh3kar closed 9 years ago

Sh3kar commented 9 years ago

I am getting Error: process.nextTick is not a function when I use observer, please help me

vsivsi commented 9 years ago

process.nextTick() is a node.js API call: https://nodejs.org/api/process.html#process_process_nexttick_callback_arg

Are you trying to use this under node.js or somewhere else (inside a browser??) This is specifically a node.js package.

Sh3kar commented 9 years ago

Thanks for reply, may be wrong place to raise this issue. I am trying to connect react-native using ddp-client and I get this error. please suggest how I can fix this.

josechavezm commented 8 years ago

I'm having the same error when trying to connect.

vsivsi commented 8 years ago

Are you running in node.js or a browser?

reyalpsirc commented 6 years ago

If someone else sees this issue, the solution is to add the polyfill specified on minimongo-cache