-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Imposible to connect to Discord #13
Comments
Hmm.. That's weird (Deno.env.get("XDG_RUNTIME_DIR") ?? Deno.env.get("TMPDIR") ?? Deno.env.get("TMP") ?? Deno.env.get("TEMP") ?? "/tmp") And also check if there's something called |
Got same error, and there's no file/directory named like that under temp folder (tried to restart discord few times, but they don't generate it) |
@Preta-Crowz can you try with this? |
Got same error |
Which OS are you on? |
Windows 11 21H2, |
Right then the issue isn’t temp dir, Windows support is not working once again because FFI bindings are outdated. I’ll update them when I have time and release new version of deno namedpipe. |
Try again with v0.3.1, it should work. |
I'm getting the same error on Windows 10 22H2 w/ 0.3.1 cli
temp dir
|
sorry for late, it's still not working with another error
|
seems like namedpipe is still having some issues @DjDeveloperr |
I'll look into it... it somehow works fine on Windows for me |
Still not working... |
Can you provide the error you got? @pagoru |
@DjDeveloperr RangeError: IPC ID must be between 0-9 |
I think the cause is poor error handling. I'll update the library to show better errors as to why the IPC path could not be found. |
That's really cool, if you need help, ping me! 👯 |
@pagoru Can you try importing from latest commit i.e. https://raw.githubusercontent.com/harmonyland/discord_rpc/c68f9dde6ddad243f67d252d4409fe1117a98822/mod.ts ? |
That is weird. It means that the IPC path simply did not exist on your system... You're on Windows right? |
What do you get when you run this expression in Deno REPL? (Deno.env.get("XDG_RUNTIME_DIR") ?? Deno.env.get("TMPDIR") ?? Deno.env.get("TMP") ?? Deno.env.get("TEMP") ?? "/tmp") Does the directory exist? And is there a socket called |
|
When I start the app with all required flags that shows this errors
I give this flags
And this is the connection part
The text was updated successfully, but these errors were encountered: