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 download
Suggested Fix
One of:
- Make
wrtc an 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
wrtc dependency — 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).
Problem
@ruvector/edge-net@0.5.3fails to install on Apple Silicon Macs (M-series) because it depends onwrtc@^0.4.7, which has no prebuilt binary fordarwin-arm64.Environment
@ruvector/edge-net@0.5.3Error
The
wrtcnpm package (v0.4.7) never shipped Apple Silicon prebuilt binaries. The S3 bucket only hasdarwin-x64builds. Sincewrtcappears to be unmaintained, this is unlikely to be fixed upstream.Reproduction
Suggested Fix
One of:
wrtcan optional dependency — so edge-net installs even without WebRTC support on unsupported platforms@roamhq/wrtc— a maintained fork with Apple Silicon prebuilt binarieswrtcdependency — if WebRTC is not core to edge-net's functionality, make it a peer dependency that users install separatelyImpact
This prevents
@ruvector/edge-netfrom being installed on any Apple Silicon Mac, which is the majority of modern Mac development machines. The package directory exists innode_modulesbut is non-functional (missing native binary).