-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Describe the bug
Everything worked as expected, until I upgraded the MacOS version from Monterey to Ventura. Running npm start in iTerm2 to run the site locally outputs an error:
> eleventy --serve & postcss styles/tailwind.css --o _tmp/style.css --watch
Eleventy fatal error: (more in DEBUG output)
> Error in your Eleventy config file '/Users/____/___/_________________/.eleventy.js'.
`EleventyConfigError` was thrown
> 'darwin-x64' binaries cannot be used on the 'darwin-arm64v8' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'darwin-arm64v8' platform.
Removing the 'node_modules/sharp' directory and running 'npm install', as directed in the error message, changes nothing.
Pushing changes to Netlify still builds the site on the web without errors.
To Reproduce
Steps to reproduce the behavior:
- Upgrade MacOS from Monterey to Ventura.
- In iTerm2,
cdto spacebook directory - run
npm start
Expected behavior
npm start builds the site with its new changes (if any), starts a server locally, and outputs a localhost address to the terminal, with which to see the changes to the site in the browser.
Additional context
MacBook Pro 16-inch, 2021, Apple M1 Max, Ventura 13.0.1
iTerm2 3.4.16 using zsh and fig
Metadata
Metadata
Assignees
Labels
No labels
