gatsby-v2-starter-casper
gatsby-v2-starter-casper copied to clipboard
my "gatsby new" keeps failing. Something with sharp.
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
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 😄