Skip to content

Commit

Permalink
Merge pull request elizaOS#2221 from proteanx/noRootInstall
Browse files Browse the repository at this point in the history
fix: don't force root for install
  • Loading branch information
shakkernerd authored Jan 12, 2025
2 parents 52e9c74 + c6d0439 commit 64b4174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/plugin-node/scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 64b4174

Please sign in to comment.