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
{{ message }}
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
I have A raspberry Pi 3B running this setup. If i run it via NPM it runs and wokrs fine but Ultimately i would like to run this via Docker so i don't have to keep a Session open. I'm Not great at docker but again running it via npm outside of docker works fine .. then i build the docker and i get the below. Thanks!
--------- Dodong is ready! ---------
/bot/node_modules/discord-player/node_modules/prism-media/src/util/loader.js:12
throw new Error(errorLog.join('\n'));
^
/bot/index.js
at Object.loader [as require] (/bot/node_modules/discord-player/node_modules /prism-media/src/util/loader.js:12:9)
at loadOpus (/bot/node_modules/discord-player/node_modules/prism-media/src/o pus/Opus.js:17:17)
at new OpusStream (/bot/node_modules/discord-player/node_modules/prism-media /src/opus/Opus.js:46:10)
at new Encoder (/bot/node_modules/discord-player/node_modules/prism-media/sr c/opus/Opus.js:149:5)
at Object.transformer (/bot/node_modules/discord-player/node_modules/@discor djs/voice/dist/index.js:8:13311)
at /bot/node_modules/discord-player/node_modules/@discordjs/voice/dist/index .js:8:16735
at Array.map ()
at We (/bot/node_modules/discord-player/node_modules/@discordjs/voice/dist/i ndex.js:8:16726)
at StreamDispatcher.createStream (/bot/node_modules/discord-player/dist/Voic eInterface/StreamDispatcher.js:116:62)
at Queue. (/bot/node_modules/discord-player/dist/Structures/Queue .js:699:46)
The text was updated successfully, but these errors were encountered:
I aparently have a newer version of the opus so the folder is different .. just copied the contents of the newer to node-v93-napi-v3-linux-arm-musl-1.2.2 and now it works .. not sure where i should have updated this in the code but its late so i didn't look too hard
I have A raspberry Pi 3B running this setup. If i run it via NPM it runs and wokrs fine but Ultimately i would like to run this via Docker so i don't have to keep a Session open. I'm Not great at docker but again running it via npm outside of docker works fine .. then i build the docker and i get the below. Thanks!
--------- Dodong is ready! ---------
/bot/node_modules/discord-player/node_modules/prism-media/src/util/loader.js:12
throw new Error(errorLog.join('\n'));
^
Error: Error: Cannot find module '/bot/node_modules/discord-player/node_modules/ @discordjs/opus/prebuild/node-v93-napi-v3-linux-arm-musl-1.2.2/opus.node'
Require stack:
Error: Cannot find module 'node-opus'
Require stack:
Error: Cannot find module 'opusscript'
Require stack:
at Object.loader [as require] (/bot/node_modules/discord-player/node_modules /prism-media/src/util/loader.js:12:9)
at loadOpus (/bot/node_modules/discord-player/node_modules/prism-media/src/o pus/Opus.js:17:17)
at new OpusStream (/bot/node_modules/discord-player/node_modules/prism-media /src/opus/Opus.js:46:10)
at new Encoder (/bot/node_modules/discord-player/node_modules/prism-media/sr c/opus/Opus.js:149:5)
at Object.transformer (/bot/node_modules/discord-player/node_modules/@discor djs/voice/dist/index.js:8:13311)
at /bot/node_modules/discord-player/node_modules/@discordjs/voice/dist/index .js:8:16735
at Array.map ()
at We (/bot/node_modules/discord-player/node_modules/@discordjs/voice/dist/i ndex.js:8:16726)
at StreamDispatcher.createStream (/bot/node_modules/discord-player/dist/Voic eInterface/StreamDispatcher.js:116:62)
at Queue. (/bot/node_modules/discord-player/dist/Structures/Queue .js:699:46)
The text was updated successfully, but these errors were encountered: