-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS El Capitan :: gatsby develop :: "Illegal instruction: 4" #9500
Comments
That's a bummer. 😕 Have you tried using an older version of Try |
@hexrcs for sure I will try that approach, the thing is I'll be away from that setup for the next 2 weeks, so I won't be able to provide feedback until then. If you could keep this issue open for that period it would be highly appreciated. It would also give someone else the chance to chime in, if that's the case. On a side note: I am aware that this is an issue with my particular setup, so it will probably affect a very very small number of people. I would probably find a workaround if I updated from El Capitan to a most recent version, however that's not an option due to compatibility constraints of other software running in that machine. On another note: I've tested Gatsby in an Ubuntu environment and everything worked fine (as it was expected :) ). Thanks for the feedback! |
@josebrito This has been fixed upstream - see lovell/sharp#1402 (comment) |
Awesome. Thanks @lovell for the fix and noting it here, as well 💜 Closing this out, @josebrito feel free to re-open as needed! Thank you! |
Description
Hi there, i'm trying out Gatsby in my personal macOS system. However when running
gatsby develop
orgatsby build
I run into the following error:I was able to drill down the root cause to the
gatsby-transformer-sharp
which depends on thesharp
lib. After a bit of investigation I found this thread which seems to be related to this issue: lovell/sharp#1402A suggested workaround is this: lovell/sharp#1402 (comment) which I've tried with no success, because I run into a new problem which is being unable to install
vips
using homebrew:In this case it seems that Python 2.7.15 is no longer supported for OSX El Capitan (no homebrew bottle for this OS): https://formulae.brew.sh/formula/python@2
I'm just posting this to find out if:
gatsby-transformer-sharp
vips
using homebrew.Appreciate any help that you can provide!
Steps to reproduce
Run
gatsby develop
in OSX El Capitan, you'll get the aforementioned error;Commenting
gatsby-transformer-sharp
ingatsby-config.js
and removingImage
component fromimage.js
no longer throws the error.Environment
The text was updated successfully, but these errors were encountered: