Skip to content

Troubleshooting

vyfor edited this page Jul 20, 2024 · 8 revisions

🔧 Troubleshooting

"Error moving file" during installation/updating

Ensure that you have the latest Rust compiler installed. Close all instances of Neovim and retry

Rich Presence is not shown in Discord

  1. Ensure that cord.nvim is loaded (try running a user command)
  2. Set log_level to 'trace' and check :messages for logs
  3. Confirm that your Activity Privacy settings are enabled
  4. Verify that the Discord IPC pipe exists:

Windows:

Test-Path \\.\pipe\discord-ipc-0

Unix:

find /tmp /var/run /run -type s -name 'discord-ipc-*' 2>/dev/null

No buttons are shown in the Rich Presence

After the recent UI update related to user profiles, there's a client-sided bug on Discord where you yourself can't see the buttons on your own rich presence. Ask somebody else to confirm if they can see them

Rich Presence timer is stuck at 00:00

This issue is usually resolved by syncing your system date and timezone

Running inside WSL

WSL doesn't expose Windows pipes by default. Follow this guide to set up your environment with npiperelay:

nvim () {
    pidof socat > /dev/null 2>&1
    if ! $? -eq 0; then
        socat UNIX-LISTEN:/tmp/discord-ipc-0,fork \
          EXEC:"npiperelay.exe //./pipe/discord-ipc-0"&
    fi
    command nvim "$@"
}

Running on a remote server

Expose the Discord IPC socket over SSH using this guide

Is your issue not listed?

Please open a new issue

Clone this wiki locally