Skip to content
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

my "gatsby new" keeps failing. Something with sharp. #3

Open
therealpaperclip opened this issue May 21, 2020 · 1 comment
Open

my "gatsby new" keeps failing. Something with sharp. #3

therealpaperclip opened this issue May 21, 2020 · 1 comment

Comments

@therealpaperclip
Copy link

Hi, I'm trying to install the Starter on my mac, but it keeps failing. Would you look at my log and let me know what you think?

https://pastebin.com/1N0JKQuN

Kind regards

@MarioSerano
Copy link

MarioSerano commented May 26, 2020

Hello @therealpaperclip , I encountered the same problem before, and to my research, it's true that it has something to do with sharp. I assume if you do node -v, it will result in node version 12, which sharp supports, in versions of sharp that is greater than 2.2.1. As you can see in your pastebin, the sharp version you're currently at is 2.0.8, which doesn't support the current node js version 12.

What I did to fix this was to update them all(since this repository was 2017, and now's 2020), following this right here : https://stackoverflow.com/questions/34202617/how-to-update-all-node-js-modules-automatically

Hopefully this helps 😄

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

No branches or pull requests

2 participants