Comments (18)
I have the same issue. As well as:
[coc.nvim] RPC: TypeError: e.forEach is not a function
from coc-discord-rpc.
can't get this to work either
from coc-discord-rpc.
I'm having the same issue. Did you ever figure it out?
from coc-discord-rpc.
This error occurs when the rpc doesn't find the discord client (it is not started or rpc doesn't have permissions).
from coc-discord-rpc.
I've been getting this issue lately - but it only seems to happen when I use my window manager (Awesome) instead of my usual desktop environment (KDE). So it's probably not an issue with the plugin (for me), but does anyone know what might cause this in my situation?
from coc-discord-rpc.
I'm getting the same error. Is there any configuration I need to setup to make it work?
from coc-discord-rpc.
@leonardssh Uhm, facing the same bizzare issue? Would you mind helping us?
from coc-discord-rpc.
Seems like all issues are dead.
from coc-discord-rpc.
sadge :(
from coc-discord-rpc.
same here
from coc-discord-rpc.
from coc-discord-rpc.
from coc-discord-rpc.
This is also happening for me on Zorin (Ubuntu 20.04).
Here's the log from COC:
2022-06-22T10:34:20.970 ERROR (pid:574489) [coc-discord-rpc] - Error: Could not connect
at Socket.o (/home/felipe/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:14782)
at Object.onceWrapper (node:events:642:26)
at Socket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:164:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-06-22T10:34:20.971 ERROR (pid:574489) [extensions] - Error on active extension coc-discord-rpc: Cannot read properties of null (reading 'write') TypeError: Cannot read properties of null (reading 'write')
at e.exports.send (/home/felipe/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16144)
at /home/felipe/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16222
at new Promise (<anonymous>)
at e.exports.close (/home/felipe/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16179)
at e.exports.destroy (/home/felipe/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:10989)
at Function.login (/home/felipe/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:39568)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.t.activate (/home/felipe/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:44242)
from coc-discord-rpc.
Same thing is happening to me
2022-07-10T18:53:42.466 ERROR (pid:47991) [server] - unhandledRejection Promise {
<rejected> TypeError: Cannot read properties of null (reading 'write')
at e.exports.send (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16144)
at /home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16222
at new Promise (<anonymous>)
at e.exports.close (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16179)
at e.exports.destroy (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:10989)
at u.handleDisconnected (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:40034)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
} TypeError: Cannot read properties of null (reading 'write')
at e.exports.send (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16144)
at /home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16222
at new Promise (<anonymous>)
at e.exports.close (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:16179)
at e.exports.destroy (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:10989)
at u.handleDisconnected (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:40034)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2022-07-10T18:53:42.644 INFO (pid:47991) [coc-discord-rpc] - Connected to Discord Gateway
2022-07-10T18:53:42.646 ERROR (pid:47991) [server] - unhandledRejection Promise {
<rejected> TypeError: e.forEach is not a function
at l (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:35508)
at f.sendActivity (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:35689)
at u.handleLogin (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:39783)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
} TypeError: e.forEach is not a function
at l (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:35508)
at f.sendActivity (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:35689)
at u.handleLogin (/home/tudbut/.config/coc/extensions/node_modules/coc-discord-rpc/dist/index.js:2:39783)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2022-07-10T18:53:52.787 INFO (pid:47991) [attach] - receive notification: showInfo []
from coc-discord-rpc.
@leonardssh this issue is 3/4 of a year old and fatal.
from coc-discord-rpc.
@TudbuT I know about this issue, I tried to solve it, but to no avail. At the moment I don't have the time and environment to start try solving it again.
from coc-discord-rpc.
Uh, this sucks! :(
from coc-discord-rpc.
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
from coc-discord-rpc.
Related Issues (20)
- Wiki for configuration variables uses wrong values HOT 3
- Allow the user to define their own "file map".
- Add support for Vim
- cannot read property 'write' of null HOT 11
- Workspace never found HOT 5
- Discord Presence not changing. HOT 1
- [coc.nvim] Error on activate extension coc-discord-rpc: Cannot read pro perties of null (reading 'write') HOT 2
- Typerror: e.forEach is not a function HOT 3
- [coc.nvim] RPC: TypeError: e.forEach is not a function error HOT 40
- Link to images used in the app? HOT 3
- State of the repository
- Button
- Displaying the wrong app name HOT 2
- Neovim is not NeoVim HOT 3
- Discord not showing anything as RP. HOT 3
- Feature Request - Disable Timer HOT 1
- RPC: RPC_COULD_NOT_CONNECT: Could not connect HOT 2
- Feature Request - Quiet Mode
- Idle Mode Doesn't Work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc-discord-rpc.