-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
darwin-arm64v8 platform error #168
Comments
What version of |
I'd also try bumping Eleventy to v1.x (although I'm suspecting this is more related to eleventy-img).
Plus per the error output:
|
Yeah, this should be strictly an eleventy-img issue—I did transfer it over earlier! |
|
Note that |
After upgrading to
See full output
I was able to fix it by installing FWIW you can also resolve the issue by adding the following to "resolutions": {
"sharp": "~0.32.0"
}, I’m running Node 20.11.0 and Eleventy 2.0.1 on an M2 Pro. Here are some similar threads:
FWIW I tried these suggestions but none of them worked:
|
Work in my case, running at: Node: 19.5.0 Thank you @tedw |
Operating system
macOS Ventura 13.0.1
Eleventy
^0.11.1
Describe the bug
I'm running Spacebook with Eleventy. Everything worked as expected, until I upgraded the MacOS version from Monterey to Ventura.
npm start
in iTerm2 to run the site locally outputs an error:Removing the 'node_modules/sharp' directory and running 'npm install', as directed in the error message, changes nothing.
When I push changes, Netlify still builds the site on the web without errors; the problem only occurs locally.
Additional context
MacBook Pro 16-inch, 2021, Apple M1 Max, Ventura 13.0.1
iTerm2 3.4.16 using zsh and fig
Reproduction steps
cd
to project directorynpm start
Expected behavior
npm start
should build the site with its new changes (if any), start a server locally, and output a localhost address to the terminal, with which to see the changes to the site in the browser.Reproduction URL
No response
Screenshots
The text was updated successfully, but these errors were encountered: