You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS D:\Usuario\Documents\Programming\Misc stuff\discord-ipc-proxy> npm start
> discord-ipc-proxy@1.0.0-rc1 start
> tsc && node dist/index.js
{"evt":"listening","transport":"ws","receiver":"both","port":6463,"timestamp":[886,493887800]}
D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:41
throw new URIError("Unable to parse 'address' to 'URL' class.");
^
URIError: Unable to parse 'address' to 'URL' class.
at D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:41:19
at getServer (D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:43:7)
at D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:67:24
at new Promise (<anonymous>)
at D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:66:27
at tryUntil (D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:20:23)
at tryUntil (D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:24:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async tryUntil (D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:24:20)
at async tryUntil (D:\Ixogamer\Documents\Programming\Misc stuff\discord-ipc-proxy\dist\index.js:24:20)
Node.js v18.17.0
PS D:\Usuario\Documents\Programming\Misc stuff\discord-ipc-proxy>
The text was updated successfully, but these errors were encountered:
Oh, I think it might be because of duplicate : in path in case of Windows (because of drive letter), I guess I might try to encode it to Unix-alike path, with /a/ meaning an A: drive, so it will work properly when placed in URL class.
I have to admit, I haven't tested how this kind of proxy works on Windows.
• Fix running the proxy on Windows (#1), refactor `getServer()`.
• Refactor code so instead of `isJSON()` it uses `try...catch` directly,
avoiding unnecessary calls to `JSON.parse()`.
The text was updated successfully, but these errors were encountered: