coc-discord-rpc icon indicating copy to clipboard operation
coc-discord-rpc copied to clipboard

cannot read property 'write' of null

Open kekidev opened this issue 4 years ago • 10 comments

im using m1 mac

this is my init.vim right now Screen Shot 2021-09-02 at 10 04 57 PM

and the error is [coc.nvim] Error on activate extension coc-discord-rpc: Cannot read property 'write' of null

kekidev avatar Sep 02 '21 13:09 kekidev

https://github.com/LeonardSSH/coc-discord-rpc/issues/21#issuecomment-910384599

leonardssh avatar Sep 02 '21 14:09 leonardssh

#21 (comment)

Screen Shot 2021-09-03 at 12 02 43 AM i couldn't find that and its all encrypted

and there is no directory called "lib" i found index.js on dist folder

kekidev avatar Sep 02 '21 15:09 kekidev

It's unreadable, but you can spot the beginning of the return statement in question before the second occurrence of "discord-ipc."

RayCurse avatar Sep 07 '21 16:09 RayCurse

I'm getting the same issue in Ubuntu 20.04, I thought that it was a snap thing but after reinstalling discord the error persist

ThePixelCode avatar Oct 21 '21 04:10 ThePixelCode

I have the same issue I believe with a kind of different message image I tried finding out looking at the link that you refer about the ipc with the mac and thought maybe my discord have a separate package for ipc since I'm on arch. And so far I don't think this is the case. Not really sure yet why this happens

excalios avatar Nov 05 '21 11:11 excalios

I have the same issue I believe with a kind of different message image I tried finding out looking at the link that you refer about the ipc with the mac and thought maybe my discord have a separate package for ipc since I'm on arch. And so far I don't think this is the case. Not really sure yet why this happens

A follow up reply it now works again not really sure why since I didn't do anything

excalios avatar Nov 06 '21 03:11 excalios

Not working :(. Works well on linux, but not on mac currently

SeniorMars avatar Feb 05 '22 01:02 SeniorMars

@KarlWithK hey, on mac I know there are problems, there's nothing I can do about it, it's up to discord-rpc to fix it, there's also an open PR for this purpose.

leonardssh avatar Feb 05 '22 17:02 leonardssh

@KarlWithK hey, on mac I know there are problems, there's nothing I can do about it, it's up to discord-rpc to fix it, there's also an open PR for this purpose.

Any updates ? I see there are no open PRs anymore

booleans-oss avatar Feb 22 '22 21:02 booleans-oss

This seems to be nvim/coc issue NOT disord-rpc issue.

xhayper avatar Jul 25 '22 00:07 xhayper

Can you guys try installing leonardssh/coc-discord-rpc#build-dev version of the extenstion? It should fix this bug, if it did then i will publish it.

Windows: %appdata%\..\Local\coc\extensions

macOS: ~/.config/coc/extensions

Linux: ~/.config/coc/extensions

xhayper avatar Oct 07 '22 14:10 xhayper