Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not connect #1

Closed
Ebnater opened this issue Mar 29, 2021 · 9 comments
Closed

Error: Could not connect #1

Ebnater opened this issue Mar 29, 2021 · 9 comments

Comments

@Ebnater
Copy link

Ebnater commented Mar 29, 2021

Error: Could not connect
at Socket.onerror (/home/pi/savediscord/Custom Discord RPC/node_modules/discord-rpc/src/transports/ipc.js:32:16)
at Object.onceWrapper (events.js:286:20)
at Socket.emit (events.js:198:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at process._tickCallback (internal/process/next_tick.js:63:19)

@DreiMu
Copy link
Collaborator

DreiMu commented Mar 29, 2021

Did you specify a Your ClientID in the index.js?

@Ebnater
Copy link
Author

Ebnater commented Mar 29, 2021

Yes, but i guess i found the error: This page: https://github.com/djs/discord-rpc doesn't exist and npm trys to get the discord-rpc package from there

@Luna-devv
Copy link
Owner

If u would, u can use my ClientId if u can't create your own: 825853950833328201

@Ebnater
Copy link
Author

Ebnater commented Mar 29, 2021

I have my own id, but the script fails

@Luna-devv
Copy link
Owner

Okay... u are the only one that have this error

@Ebnater
Copy link
Author

Ebnater commented Mar 29, 2021

is it compatible with linux?

@Luna-devv
Copy link
Owner

Luna-devv commented Mar 29, 2021

do u use Linux?

@Luna-devv Luna-devv pinned this issue Mar 29, 2021
@Luna-devv
Copy link
Owner

You need to run RichPresence on the same system as Discord!

@joseywoermann
Copy link

Additional note: It only works if you use a local installation of Discord, it won't work if you use Discord in a browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants