New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'Symbol(Symbol.toStringTag)' of undefined #1427
Comments
Looks like one or more of the functions you're passing in to |
I am using async library of node js where I get the same error I want my result variable of createjob is passed to rescheduled jobs it gives error and the result is not passing to my rescheduledjob function but according to async.waterfall definition it pass callback argument to next function asynch.waterfall
([
x.createJob(jobDefine, thread_id, (result) => {
data = result;
console.log(result);
}),
x.rescheduleJob(data, jobDefine, 5000, (err, data) => {
debugger;
}),
function (err, result) {
// result now equals 'done'
}
]) |
@rajatprogrammer |
@aearly thanks, bro issue resolved i don't pass the callback bro |
This isn't really a bug report, more of a question as to what I may be doing wrong or if a dependency isn't installing correctly. I have included the template in case it is a bug.
Whenever attempting to run the init script which calls various other functions of the bot, I am given the following error of "TypeError: Cannot read property 'Symbol(Symbol.toStringTag)' of undefined" at various different points in my code, relating to async calls or callback functions which are passed in an async.waterfall, or in the \dist\async.js script itself.
What version of async are you using? 2.4.1
Which environment did the issue occur in (Node version/browser version) Node v6.10.3
What did you do? Please include a minimal reproducible case illustrating issue. I ran various instances of async.waterfall which initialized the bot's connections. These calls are made in bot_startup.js, which call functions from channel_connect.js
What did you expect to happen? Until I updated async recently, everything was working fine and this error did not exist. I expected the script to run as it had previously.
What was the actual result?
Here is my post about it on StackOverflow, which unfortunately does not have an answer but might help.
The text was updated successfully, but these errors were encountered: