-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Description
Problem
@ruvector/edge-net@0.5.3 fails to install on Apple Silicon Macs (M-series) because it depends on wrtc@^0.4.7, which has no prebuilt binary for darwin-arm64.
Environment
- Node.js: v22.13.1
- Architecture: darwin arm64 (Apple M3 Max)
- macOS: 26.3.1
- npm: 10.x
- Package:
@ruvector/edge-net@0.5.3
Error
npm install -g @ruvector/edge-net@latest
node-pre-gyp http GET https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
The wrtc npm package (v0.4.7) never shipped Apple Silicon prebuilt binaries. The S3 bucket only has darwin-x64 builds. Since wrtc appears to be unmaintained, this is unlikely to be fixed upstream.
Reproduction
# On any Apple Silicon Mac with Node 22+
npm install -g @ruvector/edge-net@latest
# Fails with 404 on wrtc prebuilt downloadSuggested Fix
One of:
- Make
wrtcan optional dependency — so edge-net installs even without WebRTC support on unsupported platforms - Switch to
@roamhq/wrtc— a maintained fork with Apple Silicon prebuilt binaries - Remove
wrtcdependency — if WebRTC is not core to edge-net's functionality, make it a peer dependency that users install separately
Impact
This prevents @ruvector/edge-net from being installed on any Apple Silicon Mac, which is the majority of modern Mac development machines. The package directory exists in node_modules but is non-functional (missing native binary).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels