Electronjs ffmpeg DLL Not Found Error


Recently, I wanted to use Electronjs for developing cross-platform desktop apps. Then, I released the first version of my app in the form of executables by using the following command.

npm run make

I copied the output executable into the production environment and tried to run the application.

The following error popped up in two different environments:

The ffmpeg.dll not found error.

Then, I realised I was using the wrong executable. I had used the executable in the folder named with my application rather than the one inside of the make folder.

The problem is solved when I set up the right executable in my production environments.

Use the executable inside of the out folder rather than the application-specific folder.


One response to “Electronjs ffmpeg DLL Not Found Error”

Leave a Reply

Your email address will not be published. Required fields are marked *