Comments (10)
Update your nodejs version to v12 atleast
from master-bot.
it worked, thank you
from master-bot.
Now it stays silent and I get this error,
TypeError: Cannot convert "null" to int
/rbd/pnpm-volume/d61bf66c-3eb5-47fc-bf00-f6750a1aee03/node_modules/.registry.npmjs.org/opusscript/0.0.7/node_modules/opusscript/build/opusscript_native_wasm.js:8
var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}Module["arguments"]=[];Module["thisProgram"]="./this.program";Module["quit"]=function(status,toThrow){throw toThrow};Module["preRun"]=[];Module["postRun"]=[];var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_HAS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_HAS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_NODE=ENVIRONMENT_HAS_NODE&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMEN
abort(TypeError: Cannot convert "null" to int). Build with -s ASSERTIONS=1 for more info.
from master-bot.
Did you follow all the requirements and installed all the things I listed in the README?
from master-bot.
Yes, I did
from master-bot.
The error is from opusscript, did you clone the repo or copy existing code? Because this repo uses node-opus
from master-bot.
I cloned the repo, added opusscript, should I remove opusscript?
from master-bot.
You don't need to add dependencies to this repo, remove opusscript, there is already node-opus in the dependency list. After you remove opusscript hit npm i node-opus
to make sure the build didn't fail
from master-bot.
After removing opusscript and installing node-opus 3 times now, I keep getting this error saying it can't be found
Error: Could not find an Opus module! Please install @discordjs/opus, node-opus, or opusscript.
at new OpusStream (/rbd/pnpm-volume/d61bf66c-3eb5-47fc-bf00-f6750a1aee03/node_modules/.registry.npmjs.org/prism-media/1.2.1/node_modules/prism-media/src/opus/Opus.js:42:13)
at new Encoder (/rbd/pnpm-volume/d61bf66c-3eb5-47fc-bf00-f6750a1aee03/node_modules/.registry.npmjs.org/prism-media/1.2.1/node_modules/prism-media/src/opus/Opus.js:130:5)
at AudioPlayer.playPCMStream (/rbd/pnpm-volume/d61bf66c-3eb5-47fc-bf00-f6750a1aee03/node_modules/.github.com/discordjs/discord.js/d3c9384c9c47cf293858778f36da014a5a503557/node_modules/discord.js/src/client/voice/player/BasePlayer.js:58:34)
at AudioPlayer.playUnknown (/rbd/pnpm-volume/d61bf66c-3eb5-47fc-bf00-f6750a1aee03/node_modules/.github.com/discordjs/discord.js/d3c9384c9c47cf293858778f36da014a5a503557/node_modules/discord.js/src/client/voice/player/BasePlayer.js:53:17)
at VoiceConnection.play (/rbd/pnpm-volume/d61bf66c-3eb5-47fc-bf00-f6750a1aee03/node_modules/.github.com/discordjs/discord.js/d3c9384c9c47cf293858778f36da014a5a503557/node_modules/discord.js/src/client/voice/util/PlayInterface.js:71:28)
at /app/commands/music/play.js:223:12
at processTicksAndRejections (internal/process/task_queues.js:88:5)
from master-bot.
I just installed @discordjs/opus and it works just fine now
from master-bot.
Related Issues (20)
- Having trouble running the bot on Windows 10 HOT 6
- Welcome Message still there? HOT 12
- Alternative Postgres Hosting HOT 3
- Unable to run BOT after following setup bot guides HOT 9
- Unable to start up bot HOT 6
- bot cannot respond from container HOT 9
- Gif commands not working HOT 6
- Discussion - bot compatibility with other bots HOT 9
- Invalid enviroment Variables on startup HOT 3
- Crash when attempting to play song HOT 8
- Try signing in with a different account HOT 5
- napi-rs/canvas is not marked as a dependency
- Twitch command not working HOT 4
- Top and Controversial not working in Reddit command HOT 2
- Error: P1000: Authentication failed against database server at `localhost` HOT 5
- npm run dev:bot exited with code -4058 & npm run dev:dashboard exited with code -4058 HOT 8
- `npm run dev` outputting multiple errors HOT 1
- Features to be added back after turborepo rewrite HOT 2
- pnpm i fails HOT 10
- STUCK : Watching for files changes HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from master-bot.