callback is not a function error when using SyntheticMutator.update
See original GitHub issueI’m following the Synthetic mutation example in the documentation. But whenever I call on SyntheticMutator.update()
, I’m getting this error
/home/rj/.meteor/packages/cultofcoders_redis-oplog/.1.2.7_1.13z1z2p.8gfs++os+web.browser+web.cordova/npm/node_modules/redis/lib/utils.js:89
callback(err, res);
^
TypeError: callback is not a function
at Object.callbackOrEmit [as callback_or_emit] (/home/rj/.meteor/packages/cultofcoders_redis-oplog/.1.2.7_1.13z1z2p.8gfs++os+web.browser+web.cordova/npm/node_modules/redis/lib/utils.js:89:9)
at RedisClient.return_error (/home/rj/.meteor/packages/cultofcoders_redis-oplog/.1.2.7_1.13z1z2p.8gfs++os+web.browser+web.cordova/npm/node_modules/redis/index.js:706:11)
at JavascriptRedisParser.returnError (/home/rj/.meteor/packages/cultofcoders_redis-oplog/.1.2.7_1.13z1z2p.8gfs++os+web.browser+web.cordova/npm/node_modules/redis/index.js:196:18)
at JavascriptRedisParser.execute (/home/rj/.meteor/packages/cultofcoders_redis-oplog/.1.2.7_1.13z1z2p.8gfs++os+web.browser+web.cordova/npm/node_modules/redis-parser/lib/parser.js:572:12)
at Socket.<anonymous> (/home/rj/.meteor/packages/cultofcoders_redis-oplog/.1.2.7_1.13z1z2p.8gfs++os+web.browser+web.cordova/npm/node_modules/redis/index.js:274:27)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:597:20)
Exited with code: 1
Your application is crashing. Waiting for file change.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Callback is not a function for update in Node JS - Stack Overflow
The error message is telling that whatever value was supplied for the callback option, that value is not an executable function. It might...
Read more >Callbacks | Vulcan Docs
validationErrors is an array that starts empty and then gets populated by each successive validation callback. If that array is not empty, the...
Read more >ANRs - Android Developers
ANRs are a problem because the app's main thread, which is responsible for updating the UI, can't process user input events or draw,...
Read more >react-final-form - npm
Introduces field-level validation functions and demonstrates how to display errors next to fields using child render functions. Synchronous ...
Read more >Hands-On way to build Frontend with React | Nick Ovchinnikov
RDT profiler and React.memo + useCallback intro ... And also we will not go into to run TypeScript like global dependency. We're just...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s because
channel
variable here is an array while it should be a string. This is the line that causes that bug.I am getting the same error. Any resolution?