Commit 17eb712
committed
🤖 fix: use prebuilt node-pty to avoid build requirements
Replace node-pty with @homebridge/node-pty-prebuilt-multiarch which
includes prebuilt binaries for common platforms (Linux, macOS, Windows).
This allows mux to be installed on servers without requiring build tools
(python3, node-gyp, make, g++). The prebuilt package is API-compatible
with node-pty and works with both Node.js and Electron.
Fixes the error:
node-pty [1/2] > Copying prebuilds to release folder...
SKIPPED Prebuild directory does not exist
/usr/bin/bash: line 1: node-gyp: command not found
error: install script from "node-pty" exited with 127
_Generated with `mux`_1 parent 9928a19 commit 17eb712
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
0 commit comments