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:
- checkout project on Apple M1
- run
npm install
- 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