#Error when starting development server "Something went wrong installing the "sharp" module"

1 messages · Page 1 of 1 (latest)

lethal vigil
#

When I try to start the development server with npm start or npx astro dev I get the error: "Something went wrong installing the "sharp" module". See the picture for the full error message.

I'm using an M1 Macbook Air on MacOS v12.6.3.

Node: v19.8.1
npm: v9.5.1
Terminal: Warp

I just updated to Astro v2.1.3 from v1.x and hadn't had this issue previously.

I've tried updating / installing 'sharp' with npm install sharp as well as the suggestions in the error message. But this hasn't changed anything.

Any input would really be appreciated as I've lost a lot of time to this already.

wheat seal
#

Same here. Did you find out how to solve it?