Discord.js: ffmpeg Error: spawn EACCES

Created on 10 Dec 2017  路  4Comments  路  Source: discordjs/discord.js

Somebody help me please. Running my bot on my laptop works fine, music plays. Running it on my Raspberry PI (What I host my bot off of) has an error.

{ Error: spawn EACCES at _errnoException (util.js:1024:11) at ChildProcess.spawn (internal/child_process.js:325:11) at Object.exports.spawn (child_process.js:499:9) at new FfmpegProcess (/home/pi/Desktop/Discord Bot/node_modules/prism-media/src/transcoders/ffmpeg/FfmpegProcess.js:14:33) at FfmpegTranscoder.transcode (/home/pi/Desktop/Discord Bot/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:34:18) at MediaTranscoder.transcode (/home/pi/Desktop/Discord Bot/node_modules/prism-media/src/transcoders/MediaTranscoder.js:27:31) at Prism.transcode (/home/pi/Desktop/Discord Bot/node_modules/prism-media/src/Prism.js:13:28) at AudioPlayer.playUnknownStream (/home/pi/Desktop/Discord Bot/node_modules/discord.js/src/client/voice/player/AudioPlayer.js:97:35) at VoiceConnection.playStream (/home/pi/Desktop/Discord Bot/node_modules/discord.js/src/client/voice/VoiceConnection.js:483:24) at message.member.voiceChannel.join.then.connection (/home/pi/Desktop/Discord Bot/bot.js:574:47) code: 'EACCES', errno: 'EACCES', syscall: 'spawn' }

I have no clue why this is happening and I need help fast..

question (please use Discord instead)

Most helpful comment

by reading my comment. i already told you that your process is missing permission to create a fmmpeg process and that issue is with which permission you start your node process and not related to discord.js

All 4 comments

if you would have googled Error: spawn EACCES you would have known that this issue is related to your process has not enough permissions to spawn an FFMPEG process also if you really want fast help next time ask in our Official Discord Server 馃

What do you think I did not google it? OF COURSE ITS A PROBLEM WITH FFMPEG! Now how in the hell do I fix it?

Last time i checked this is discord.js support not ffmpeg support.

by reading my comment. i already told you that your process is missing permission to create a fmmpeg process and that issue is with which permission you start your node process and not related to discord.js

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tom-barnes picture tom-barnes  路  3Comments

Dmitry221060 picture Dmitry221060  路  3Comments

Alipoodle picture Alipoodle  路  3Comments

DatMayo picture DatMayo  路  3Comments

shukriadams picture shukriadams  路  3Comments