Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't force root for install #2221

Merged
merged 2 commits into from
Jan 12, 2025
Merged

Conversation

proteanx
Copy link
Contributor

@proteanx proteanx commented Jan 12, 2025

Risks

Low

Background

Currently pnpm install on linux (and probably mac etc) is doing a npx playwright install-deps for the post postinstall script on plugin-node. This forces a super user login for root access which is a huge red flag and generally a bad practice.

What does this PR do?

Removes the root privileged command and in the rare case the user does not have the required dependencies prints a console message on how to fix. This way users aren't blindly trusting what calls are being made with super user privileges.

What kind of change is this?

Bug fix

Documentation changes needed?

None

Copy link
Member

@shakkernerd shakkernerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with this change. I've had similar experience.

@shakkernerd shakkernerd merged commit 64b4174 into elizaOS:develop Jan 12, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants