Skip to main content
No Result Found

Error - Permission issue (Browser launch failure)

Learn how to fix errors related to permission issues in Percy

Typically, users face a permissions issue when they do not have the permissions to write to the file when trying to download Chromium. The Percy CLI tries to download Chromium once after installation if it is not already present.

Try these solutions to resolve this error:

Solution 1:

Try changing ownership of node_modules to the current user so they have write permissions using these commands:

sudo chown -R $(whoami) node_modules/
takeown /f node_modules/

Solution 2:

Try reinstalling Percy with the --unsafe-perm=true flag.

Reference Topic

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle