remotion-dev/remotion

Investigate windows / node v14 recursive bug #334

JonnyBurger posted onGitHub

When you are specifically:

  • On Node.js v14.16.x
  • On Windows

If you render a video, at the end it will log an error message:

Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\react-motion-graphics9o9K3v'

It can be seen in the CI: https://github.com/remotion-dev/remotion/runs/3765414019?check_suite_focus=true#step:9:96

Actually, it looks like a Node.JS bug. It doesn't make any sense to me why this is happening! We need a workaround for it but to preserve the current functionality.


šŸŽƒ This issue is eligible for Hacktoberfest! In addition to helping you get a contribution towards your Hacktoberfest reward, Remotion pays a $100 bounty for it!

Read: How to contribute to Remotion

  • Let us know when you are interested in this issue, and we'll assign you!
  • In order to prevent issues from getting stuck, try to progress the issue by opening a PR and adding commits. If your progress is stale for 7 days, another user can ask to take over the issue.

Approval criteria for this PR:

  • Fix the error message but keep the current functionality.

It can be seen in the CI:

Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\react-motion-graphics9o9K3v' Do you have minimum required Node.js version? Could not clean up directory.

posted by JonnyBurger over 3 years ago

@jonnyburger has funded $112.00 to this issue.


posted by issuehunt-app[bot] over 3 years ago

Hi, I'd like to work on this

posted by erogleva over 3 years ago

@erogleva Sure, I'm assigning you! Good luck šŸŽƒ

posted by JonnyBurger over 3 years ago

Hi, I would like to work on this issue, if possible, since it has been stucked for 7 days.

posted by razn-v over 3 years ago

Hi, from my side, please go ahead instead of me if you'd like. I don't have a proper solution yet for this.

posted by erogleva over 3 years ago

Thanks for letting me know, I will make a PR then.

posted by razn-v over 3 years ago

Thank you both for coordinating, I'll assign it to Raznov then!

posted by JonnyBurger over 3 years ago

@jonnyburger has rewarded $100.80 to @razn-v. See it on IssueHunt

  • :moneybag: Total deposit: $112.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $11.20
posted by issuehunt-app[bot] over 3 years ago

Fund this Issue

$112.00
Rewarded

Rewarded pull request

Recent activities

razn-v was rewarded by jonnyburger for JonnyBurger/remotion# 334
over 3 years ago
razn-v submitted an output to  JonnyBurger/ remotion# 334
over 3 years ago