From d26459f991dd794f96975b09b0464c3c6bec33e7 Mon Sep 17 00:00:00 2001 From: Proteus Date: Sun, 12 Jan 2025 16:39:36 -0500 Subject: [PATCH] dont force root perm install --- packages/plugin-node/scripts/postinstall.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/plugin-node/scripts/postinstall.js b/packages/plugin-node/scripts/postinstall.js index 6a30ca9443a..826949088f8 100644 --- a/packages/plugin-node/scripts/postinstall.js +++ b/packages/plugin-node/scripts/postinstall.js @@ -55,10 +55,10 @@ if (!distro || !supportedDistros.some((name) => distro.includes(name))) { } try { - execSync("npx playwright install-deps && npx playwright install", { + execSync("npx playwright install", { stdio: "inherit" }); } catch (err) { - console.error("Failed to install Playwright dependencies:", err.message); + console.error("Failed to install Playwright you may need to install playwright deps with 'sudo npx playwright install-deps'. Error: ", err.message); process.exit(1); -} +} \ No newline at end of file