TypeError: wrapAsync(...) is not a function with node 8.0.0
See original GitHub issueWhat version of async are you using?
2.4.1
Which environment did the issue occur in (Node version/browser version)
node 8.0.0
What did you do? Please include a minimal reproducable case illustrating issue.
async=require('async')
_=require('underscore')
async.parallel(_.range(10), function(iter, cb) { cb(null); }, function(err) { console.log(err); })
What did you expect to happen?
should print null.
What was the actual result?
TypeError: wrapAsync(...) is not a function
at /usr/local/lib/node_modules/async/dist/async.js:3830:24
at eachOfArrayLike (/usr/local/lib/node_modules/async/dist/async.js:1003:9)
at eachOf (/usr/local/lib/node_modules/async/dist/async.js:1051:5)
at _parallel (/usr/local/lib/node_modules/async/dist/async.js:3829:5)
at Object.parallelLimit [as parallel] (/usr/local/lib/node_modules/async/dist/async.js:3912:5)
at repl:1:7
at ContextifyScript.Script.runInThisContext (vm.js:44:33)
at REPLServer.defaultEval (repl.js:239:29)
at bound (domain.js:301:14)
at REPLServer.runBound [as eval] (domain.js:314:12)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9
Top Results From Across the Web
wrapAsync(...) is not a function in MongoDB and Mongoose
What I want is, to execute both these queries and send responses of queries together as combined JSON. but, I am getting error...
Read more >Node.js v19.3.0 Documentation
The wrapper function is expected to be called exactly exact times. If the function has not been called exactly exact times when tracker.verify()...
Read more >Another wrapAsync Problem + Question - help - Meteor forums
I get the error : "Exception while invoking method 'getTweets' TypeError: this.request is not a function" Meteor.method…
Read more >Callback and Promise Support in your Node.js Modules
Return callbacks as well as promises from your functions to be both, backward-compatible and future proof! Update — December 20th 2017. We've ...
Read more >Mongoose and node js - TypeError: object is not a function ...
Coding example for the question Mongoose and node js - TypeError: object is not a function-node.js.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top 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
“Oops, my mistake” - That helped me solve the problem too, thanks for elaborating.
Oops, my mistake.