GithubHelp home page GithubHelp logo

Comments (18)

Paxxous avatar Paxxous commented on July 27, 2024 4

I have the same issue. As well as:
[coc.nvim] RPC: TypeError: e.forEach is not a function

from coc-discord-rpc.

ken-soares avatar ken-soares commented on July 27, 2024 1

can't get this to work either

from coc-discord-rpc.

Nuddel69 avatar Nuddel69 commented on July 27, 2024

I'm having the same issue. Did you ever figure it out?

from coc-discord-rpc.

leonardssh avatar leonardssh commented on July 27, 2024

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.

Magicrafter13 avatar Magicrafter13 commented on July 27, 2024

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.

AucaCoyan avatar AucaCoyan commented on July 27, 2024

I'm getting the same error. Is there any configuration I need to setup to make it work?

from coc-discord-rpc.

knaeve avatar knaeve commented on July 27, 2024

@leonardssh Uhm, facing the same bizzare issue? Would you mind helping us?

from coc-discord-rpc.

knaeve avatar knaeve commented on July 27, 2024

Seems like all issues are dead.

from coc-discord-rpc.

knaeve avatar knaeve commented on July 27, 2024

sadge :(

from coc-discord-rpc.

b3z avatar b3z commented on July 27, 2024

same here

from coc-discord-rpc.

knaeve avatar knaeve commented on July 27, 2024

from coc-discord-rpc.

knaeve avatar knaeve commented on July 27, 2024

@leonardssh

from coc-discord-rpc.

FelipeSharkao avatar FelipeSharkao commented on July 27, 2024

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.

TudbuT avatar TudbuT commented on July 27, 2024

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.

TudbuT avatar TudbuT commented on July 27, 2024

@leonardssh this issue is 3/4 of a year old and fatal.

from coc-discord-rpc.

leonardssh avatar leonardssh commented on July 27, 2024

@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.

knaeve avatar knaeve commented on July 27, 2024

Uh, this sucks! :(

from coc-discord-rpc.

xhayper avatar xhayper commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.