ericalli / static-site-boilerplate

A better workflow for building modern static websites.
http://staticsiteboilerplate.com
MIT License
1.74k stars 166 forks source link

Prebuilt libvips 8.10.5 binaries are not yet available for darwin-arm64v8 ( Apple M1 ) #76

Open SocialDamage opened 3 years ago

SocialDamage commented 3 years ago

Describe the bug Unable to run npm install on Apple M1

Prebuilt libvips 8.10.5 binaries are not yet available for darwin-arm64v8 unable to compile on M1

To Reproduce Steps to reproduce the behavior:

  1. checkout project on Apple M1
  2. run npm install
  3. See error

Expected behavior install should run fine

Screenshots Log "Prebuilt libvips 8.10.5 binaries are not yet available for darwin-arm64v8" sharp, fatal error: 'vips/vips8' file not found

SOLUTION New Pre-build binaries are available now. But the project or dependencies of it still try to use the old binaries.

npm upgrade npm install

otherwise:

https://sharp.pixelplumbing.com/install#apple-m1