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

Linux dependency issues - discord voice client #278

Closed
twilwa opened this issue Nov 12, 2024 · 4 comments
Closed

Linux dependency issues - discord voice client #278

twilwa opened this issue Nov 12, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@twilwa
Copy link
Collaborator

twilwa commented Nov 12, 2024

Describe the bug

when starting the discord client, the bot fails

To Reproduce
add discord client to character.json, pnpm start --character

Expected behavior
character initializes successfully

Screenshots

Additional context
steps taken that resolve this issue:

sudo apt install node-gyp

pnpm add @octokit/core@3 -w

pnpm add @discordjs/opus@0.9.0 -w

pnpm add opusscript -w

pnpm add node-opus -w

this results in the bot being able to join discord voice and transcribe audio without crashing and function normally in chat responses, general 'does it run off a fresh pull' tracking issue

@twilwa twilwa added the bug Something isn't working label Nov 12, 2024
@twilwa twilwa changed the title discordjs outdated, fails to install Linux dependency issues Nov 14, 2024
@twilwa twilwa changed the title Linux dependency issues Linux dependency issues - discord voice client Nov 14, 2024
@sirkitree
Copy link
Collaborator

Try the following:

  1. downgrade to node v20 nvm install 20 && nvm use 20
  2. remove node modules and lock file rm -rf node_modules && rm pnpm-lock.yaml
  3. rerun install pnpm i

@y4my4my4m
Copy link
Contributor

y4my4my4m commented Dec 20, 2024

i did pnpm -r build and it fixed
i also added pnpm add -w sharp not sure if that had anything to do but though i'd mention it

@AIFlowML
Copy link
Collaborator

AIFlowML commented Jan 3, 2025

i think we can close this if you all already found a solution.

@y4my4my4m
Copy link
Contributor

#1312

This should fix it

@AIFlowML AIFlowML closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants