-
Notifications
You must be signed in to change notification settings - Fork 837
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
Error -86 on npm run predeploy using react-snap with Puppeteer #536
Comments
The error you're encountering, "Unknown system error -86", is likely due to a binary compatibility issue on macOS, especially if you're using an Apple Silicon Mac (M1/M2 chip). This can happen when trying to run arm64 binaries on x86_64 architecture without Rosetta 2 or vice versa. Here's how to address the issue:
By following these steps, you should be able to resolve the "Unknown system error -86" and successfully run
|
Thanks it works! I installed Rosetta 2 using the command:
This resolved the compatibility issues as you suggested. Appreciate your support! |
Running
npm run predeploy
results in an error related to Puppeteer, spawned byreact-snap
. This prevents the static site generation process and shows anUnknown system error -86
related to thespawn
call inchild_process
.Steps to Reproduce
https://github.com/mldangelo/personal-site
npm install
npm run predeploy
Environment
npm ls puppeteer shows:
The text was updated successfully, but these errors were encountered: