Comments (2)
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:
-
Check Node.js Version: Ensure your Node.js version (v20.12.2) is compatible with the project requirements. If necessary, switch to a compatible version using a version manager like
nvm
. -
Update Puppeteer: The version of Puppeteer (1.20.0) might not be fully compatible with your system. Consider updating Puppeteer or
react-snap
to a version that supports your macOS and architecture. -
Use Rosetta 2 for Intel Binaries: If you're on an Apple Silicon Mac, try running your terminal under Rosetta 2 to ensure compatibility with Intel-based binaries. You can do this by duplicating your Terminal app, renaming it (e.g., Terminal Rosetta), and selecting "Open using Rosetta" in the Get Info window.
-
Reinstall Node Modules: Sometimes, reinstalling your node modules (
npm install
ornpm ci
) can resolve hidden conflicts or issues with binary installations. -
Puppeteer Configuration: Verify if there are any Puppeteer-specific configurations needed for macOS, such as setting the
PUPPETEER_EXECUTABLE_PATH
to a compatible Chrome or Chromium installation. -
Search for Similar Issues: Check the
react-snap
and Puppeteer GitHub repositories for similar issues, as others might have encountered and resolved the same problem.
By following these steps, you should be able to resolve the "Unknown system error -86" and successfully run npm run predeploy
.
Details
Sources
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from personal-site.
Thanks it works! I installed Rosetta 2 using the command:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
This resolved the compatibility issues as you suggested. Appreciate your support!
from personal-site.
Related Issues (20)
- Menu with yellow border on mobile HOT 3
- npm install fails. HOT 3
- PAGES FAILING FOR NEW PACKAGE.JSON HOT 1
- node-sass v4.14.1 incompatible with node 15+
- Making subpages HOT 2
- CSS not rendering
- Is there any way to add link to each project in the project page ??? HOT 2
- ESlint Error on Windows HOT 1
- Migrating from Google Analytics UA to GA4 HOT 1
- Suggestion: Blog/Journal pages HOT 1
- Deploying from a Fork to GH Pages with Workflow HOT 4
- Can't modify Michael's name in navigation bar HOT 1
- Bolder underline for hyperlinks HOT 1
- Deployment timing out HOT 5
- Contribution Instructions HOT 1
- Deployment Instructions HOT 1
- Minified React error #418; #423; in production build HOT 3
- npm build not working HOT 7
- Page is showing readme file HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from personal-site.