Skip to content

Commit 64b4174

Browse files
authored
Merge pull request elizaOS#2221 from proteanx/noRootInstall
fix: don't force root for install
2 parents 52e9c74 + c6d0439 commit 64b4174

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/plugin-node/scripts/postinstall.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ if (!distro || !supportedDistros.some((name) => distro.includes(name))) {
5555
}
5656

5757
try {
58-
execSync("npx playwright install-deps && npx playwright install", {
58+
execSync("npx playwright install", {
5959
stdio: "inherit"
6060
});
6161
} catch (err) {
62-
console.error("Failed to install Playwright dependencies:", err.message);
62+
console.error("Failed to install Playwright you may need to install playwright deps with 'sudo npx playwright install-deps'. Error: ", err.message);
6363
process.exit(1);
64-
}
64+
}

0 commit comments

Comments
 (0)