-
Notifications
You must be signed in to change notification settings - Fork 880
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
Property 'on' does not exist on type 'FfmpegCommand'. Did you mean to access the static member 'FfmpegCommand.on' instead? #1284
Comments
same problem here, did you find any solution? |
Same problem here : const promise = new Promise((resolve, reject) => {
this.getFFmpegRenderer(audioFilesPath, audioFilePath)
.on("end", (output: unknown) => {
resolve(output);
})
.on("error", (err: unknown) => {
console.error("[CreateAudio][concatAudio] Error", err);
reject(err);
});
});
|
downgrade to |
Thanks for your reply ! Yes it seems that |
@clementdemily quick question are you using discord.js? it seems like they are overriding the |
Yes, indeed ! I've noticed that I got no error since a few version updates though |
Version information
Code to reproduce
error TS2576: Property 'on' does not exist on type 'FfmpegCommand'. Did you mean to access the static member 'FfmpegCommand.on' instead?
87 .on("start", async () => {
The text was updated successfully, but these errors were encountered: