Comments (9)
Looking through various of other issues of that kind should have gotten you that answer pretty quickly, namely:
I'm just kind of sick of people not looking through past issues at this point, so I left this one open.
from discord-vscode.
@iCrawl (Adding a pointer in your README to this might be be helpful).
The issue for most people, is likely that that the underlying Discord RPC library here https://github.com/discordjs/RPC uses a naive approach to determining the IPC path to the discord-ipc-0
file. It looks like it was written for Windows, and has had some Linux logic added as well, but still does not properly support Mac OS X.
I created an issue here with some details:
discordjs/RPC#54
Basically, the fix is likely that you need to search your system for the IPC file:
find / -name "*discord-ipc*" 2> /dev/null
/private/var/folders/kh/388s01ns6r9480zhlk51nb200000gn/T/discord-ipc-0
edit .vscode/extensions/icrawl.discord-vscode-3.2.1/node_modules/discord-rpc/src/transports/IPC.js
accordingly:
function getIPCPath(id) {
return `/private/var/folders/kh/388s01ns6r9480zhlk51nb200000gn/T/discord-ipc-${id}`;
}
and then restart Visual Studio Code.
At this point it . should work.
from discord-vscode.
It might help folks if the error message including a link to a troubleshooting doc or something, that had a few suggestions. Most of the "answers" in all of these issues, are very vague and don't have any follow through on possible root causes.
from discord-vscode.
getting the same problem
from discord-vscode.
If you installed Discord / VSCode using Snap / Ubuntu Software Center, here is a fix.
I am using Ubuntu 18.10, Snap was the origin of my Can't connect to Discord
, as it sandboxes apps.
It has been confirmed by a Discord collaborator: discord/discord-rpc#213 (comment)
So if you installed any of those two using Snap, here's the fix:
sudo snap remove vscode discord
- download the
.deb
files from the official websites - install the
.deb
files using thesudo dpkg -i package.dpkg
command - DO NOT USE UBUNTU SOFTWARE CENTER, AS IT USES SNAP.
@iCrawl (Adding a pointer in your README to this might be be helpful).
from discord-vscode.
same
from discord-vscode.
@SherloxTV Thank you S2
from discord-vscode.
Is this issue dead? The lack of attention this is getting is a little bit ridiculous.
Edit: This issue is more than a month old and still no response from a dev.
from discord-vscode.
You save the day, thx
from discord-vscode.
Related Issues (20)
- Couldn't connect to Discord via RPC: Error HOT 6
- Couldn't connect to Discord via RPC: Error: Could not connect HOT 2
- Discord not updating HOT 1
- Hide IP when SSH remote development HOT 1
- Support discord web app HOT 1
- Don't show IP in SSH HOT 5
- [Feature] add option for 'file_extension' e.g. 'Editing php file', 'Editing js file'
- Lines not working
- Add VSCodium logo to the presence.
- Says its connected to discord but it doesnt appear HOT 10
- "RPC" to "SDK" HOT 2
- SSH Remote machine IP showing HOT 1
- Common Issue Fix: VS Code activity doesn't show in Discord after download HOT 1
- Adding Luau Icon HOT 1
- Add gleam icon as description HOT 1
- Toggle for not stopping at 24 hours
- RPC_CONNECTION_TIMEOUT notify HOT 1
- Couldn't connect to Discord via RPC: Error: Could not connect HOT 1
- Discord HOT 1
- Show "Idling" when using HEX Editor view mode
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 discord-vscode.