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

Unable to run on Arch Linux #7

Open
SimPilotAdamT opened this issue Feb 11, 2021 · 0 comments
Open

Unable to run on Arch Linux #7

SimPilotAdamT opened this issue Feb 11, 2021 · 0 comments

Comments

@SimPilotAdamT
Copy link

SimPilotAdamT commented Feb 11, 2021

It connects to Discord fine, and then crashes spitting out a JSON error.
Here is the error I get:

[adam@Adam-Arch youtube-discord-rpc]$ node index
Connected to Discord!
xwininfo: can not set locale properly
/home/adam/youtube-discord-rpc/node_modules/active-win/lib/linux.js:35
                title: JSON.parse(result['_NET_WM_NAME(UTF8_STRING)']) || null,
                            ^

SyntaxError: Unexpected number in JSON at position 73
    at JSON.parse (<anonymous>)
    at parseLinux (/home/adam/youtube-discord-rpc/node_modules/active-win/lib/linux.js:35:15)
    at AsyncFunction.module.exports.sync (/home/adam/youtube-discord-rpc/node_modules/active-win/lib/linux.js:74:9)
    at Function.module.exports.sync (/home/adam/youtube-discord-rpc/node_modules/active-win/index.js:25:33)
    at youtube (/home/adam/youtube-discord-rpc/index.js:17:26)
    at Timeout._onTimeout (/home/adam/youtube-discord-rpc/index.js:81:5)
    at listOnTimeout (node:internal/timers:556:17)
    at processTimers (node:internal/timers:499:7)
[adam@Adam-Arch youtube-discord-rpc]$ 

Running the latest version of Arch Linux with the latest AUR version of Discord Canary, running via the X11 version of KDE Plasma (from the kde-testing official Pacman repo).

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

1 participant