coc-discord-rpc: TypeError: Cannot read property 'toString' of undefined

coc-discord-rpc keeps on throwing the following error:

[coc.nvim]: UnhandledRejection: TypeError: Cannot read property 'toString' of undefined.

Was working till a few days back, have no idea what broke it. Tried reinstalling multiple times only to arrive at the same conclusion.

uname -a:

Linux ArchBox 5.13.9-arch1-1 #1 SMP PREEMPT Sun, 08 Aug 2021 11:25:35 +0000 x86_64 GNU/Linux

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 5
  • Comments: 15 (7 by maintainers)

Most upvoted comments

The plugin works perfectly now. Thank you @LeonardSSH and @excalios ❤️

https://github.com/LeonardSSH/coc-discord-rpc/commit/d123a583ab9f829d60aeeea4b531a10127f67d52 solves the problem entirely. In the next few minutes, a new version patch for this issue will be released.

Please update the extension and let me know if it’s fixed. @excalios @AakashSharma7269 @atemmel @whisperity @iraizo @ArmoredVortex

I believe this is out of my skill set, but i’ll try.

@LeonardSSH Understandable. In that case, do you wish to provide support for the plugin or should we just fork it and fix it on our own?