@mindexec/cli 0.2.181 → 0.2.182

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindexec/cli",
3
- "version": "0.2.181",
3
+ "version": "0.2.182",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
package/server.js CHANGED
@@ -12883,6 +12883,14 @@ async function startBridgeServer() {
12883
12883
  process.exit(1);
12884
12884
  }
12885
12885
 
12886
+ if (error?.code === 'EACCES') {
12887
+ logError(
12888
+ 'bridge',
12889
+ `Windows refused access to 127.0.0.1:${PORT}. If another stale process owns the bridge port, restart with BRIDGE_FORCE_KILL_PORT_OWNER=1. If it still fails, check whether Windows reserved the port with: netsh interface ipv4 show excludedportrange protocol=tcp`,
12890
+ error);
12891
+ process.exit(1);
12892
+ }
12893
+
12886
12894
  logError('bridge', 'failed to start LocalBridge server.', error);
12887
12895
  process.exit(1);
12888
12896
  });