CombinedPropertyError? when trying to use a function that uses JSDOM to return a string for embed
Hello!
I have a problem so my code is giving me multiple
CombinedPropertyError
idk whats that but I used some async functions to get the descriptions to give to my embed
and the getAllInfoFrom<wiki>API
uses JSDOM
(an npm package that can like make a fake dom, need to use it to get the text content from mediawiki apI)
maybe that npm is doing something idk
but when i tried using it in here
it outputted the data to the terminal console just fine
Full Error:18 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.node 18.16.1
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
wdym?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
hmm
where does the 1,2 and the undefineds come from
i modified the function that gets the text and it seems that it repeated these twice but without the 1 and 2
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
(also when i was testing the api calls and the functions on a separate file it worked fine)
k
Oh the repeated texts is from a console.log i forgot to remove but i removed it and heres the output
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
oh my god
it works now
thanks
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View