Skip to content

fix: move Linux-only native deps to optionalDependencies#33

Open
arnlaugsson wants to merge 1 commit intoArk0N:masterfrom
arnlaugsson:fix/macos-install-platform-deps
Open

fix: move Linux-only native deps to optionalDependencies#33
arnlaugsson wants to merge 1 commit intoArk0N:masterfrom
arnlaugsson:fix/macos-install-platform-deps

Conversation

@arnlaugsson
Copy link

Summary

  • Moves @remotion/compositor-linux-x64-gnu and @rspack/binding-linux-x64-gnu from dependencies to optionalDependencies
  • Fixes installation failure on macOS (arm64) caused by npm refusing to install Linux-only native binaries
  • No behavior change on Linux — the packages still install normally there

Fixes #32

Test plan

  • Verified npm install succeeds on macOS arm64 (Apple Silicon) with this change
  • Verify npm install still works on Linux x64
  • Verify Remotion video features (if any) still work on Linux

🤖 Generated with Claude Code

`@remotion/compositor-linux-x64-gnu` and `@rspack/binding-linux-x64-gnu`
are Linux x64 binaries that cause npm install to fail on macOS (arm64)
with EBADPLATFORM. Moving them to optionalDependencies allows npm to
skip them gracefully on unsupported platforms.

Fixes Ark0N#32

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installation fails on macOS (arm64) due to Linux-only native dependencies

1 participant