Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Upgrade Sharop to 0.28.0 for compatibility fixes on M1 processors #62

Open
hserranome opened this issue Mar 29, 2021 · 0 comments
Open

Comments

@hserranome
Copy link

It doesn't work on the new M1 Apple processors. Throws up this error:

npm ERR! ../src/common.cc:25:10: fatal error: 'vips/vips8' file not found
npm ERR! #include <vips/vips8>
npm ERR!          ^~~~~~~~~~~~
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/sharp/src/common.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2

It can be fixed by updating to 0.28.0 as seen here: lovell/sharp#2460 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant