Skip to main content

Error - Browser spawn failure

Learn how to fix errors related to browser spawn failures in Percy

Spawn failures usually occur on node when it is unable to spawn a child process. This can be due to permissions or environment issues in which the node process is running.

Try these solutions to resolve this error:

Solution 1:

Spawn failures can occur if you run multiple CLI instances on the same machine simultaneously. We recommend using a single Percy CLI on a machine, learn more.

You can kill the Percy process as described here.

Solution 2:

  • For Mac, try installing Rosetta using the following command:
softwareupdate --install-rosetta
  • For Windows
    • Disable any antivirus software you have installed and check if the error persists. If the error is resolved, it indicates that your antivirus is blocking Percy from spawning a new browser instance. In this case, modify your antivirus settings to allow Percy to spawn a browser.

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