-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MaxListenersExceededWarning
issue with @remotion/bundler
and @remotion/renderer
#1543
Comments
Hi Mattèo! It looks like you are rendering all the videos at once, which might put the system under stress and can lead to crashes. From your code it could be that you did this unintentionally. Try changing: videosData.forEach(async (element: RedditTiktokTestProps) => {
await renderOne(element, bundleLocation, compositionId, entry);
}); to: for (const element of videosData) {
await renderOne(element, bundleLocation, compositionId, entry);
} This will render the videos in sequence rather than in parallel. |
Hi @JonnyBurger thanks for your solution, I changed the loop to use a for, and I still have a problem but with
|
@MatteoGauthier Can you paste in here what your |
For sure, here is the json (nothing special here)
and the repository https://github.com/MatteoGauthier/reddit-to-tiktok-remotion
|
I don't know why you got this error specifically! I got a different one when running the script: From that I was able to fix it, sent you a PR! |
@JonnyBurger Thanks a lot for your PR, I've merged it but I still have the same issue.
|
@MatteoGauthier I'm afraid, this is a problem with You can get it to work by using |
Thank you very much @JonnyBurger for this personalized assistance, you have helped me a lot ! 🙏 |
Thanks, good luck with your bot! 🙌 |
Got an issue using
@remotion/bundler
and@remotion/renderer
here is the error logs
and here is my
render.ts
fileDoes someone can help me ?
The text was updated successfully, but these errors were encountered: