I have encountered an unfortunate bug when attempting to run my bot written in Node.js.
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. I understand that this is one of the standard functions from JavaScript, so I am unsure why it is giving me an error.
The odd part is these errors are new, and I have run the scripts before many times without running into this issue.
Below is the first error line in async.js which shows at line 175.
174 function isAsync(fn) {
175 return supportsSymbol && fn[Symbol.toStringTag] === 'AsyncFunction';
176 }
And a second example is in my own bot_startup.js at line 43.
43 connectToServerCallback(null, "connected");
It seems like it is erroring out whenever trying to convert data to strings, but I do not know how I would go about fixing this. Any help would be appreciated.
via Astro Bot
No comments:
Post a Comment