From aa5fb77427cc8c904fc02a556cdafaace339b8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Tue, 16 Dec 2025 11:09:04 +0100 Subject: [PATCH] Use npx pnpm runs the postinstall script for apps/desktop, the electron-rebuild binary isn't in PATH. The binary is at root node_modules/.bin/, but the script runs from apps/desktop/. --- apps/desktop/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 97ab8585a69..b84df66abd6 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -16,7 +16,7 @@ }, "license": "GPL-3.0", "scripts": { - "postinstall": "electron-rebuild", + "postinstall": "npx electron-rebuild", "start": "cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build", "build-native-macos": "cd desktop_native && ./macos_provider/build.sh && node build.js cross-platform", "build-native": "cd desktop_native && node build.js",