oven-sh/bun

Node incompatibility on remotion

Opened this issue · 1 comments

What version of Bun is running?

1.2.21

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

  • create an empty remotion project
  • npx remotion render works fine
  • bunx --bun remotion render does not work
  • remotion also has a bun version of its cli called remotionb but bunx remotionb render does not work as well with the same error message

What is the expected behavior?

$ bunx remotion render src/index.jsx stdin-scene out/video.mp4
Bundled code         ━━━━━━━━━━━━━━━━━━ 581ms
Composition          stdin-scene
Codec                h264
Output               out/video.mp4
Concurrency          4x
Rendering frames     ━━━━━━━━━━━━━━━━━╸ 179/180 0s remaining

What do you see instead?

$ bunx remotionb render src/index.jsx stdin-scene out/video.mp4
You are running Remotion with Bun, which is mostly supported. Visit https://remotion.dev/bun for more information.
Bundled code         ━━━━━━━━━━━━━━━━━━ 518ms
Composition          stdin-scene
Codec                h264
Output               out/video.mp4
Concurrency          4x
Rendering frames     ━━━━━━━━━━━━━━━━━━   0/180
Encoding video       ━━━━━━━━━━━━━━━━━━   0/180Error: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed.
Error: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed.
Error: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed.
Error: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed.
Error: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed.
Error: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed.
Error: Protocol error (Page.bringToFront): Session closed. Most likely the page has been closed.

Additional information

There is a GitHub issue on their GitHub as well: remotion-dev/remotion#5556