gillkyle / gatsby-starter-landing-page

🖱 A simple, minimal Gatsby starter for quick and easy landing pages
https://gatsby-starter-landing-page.netlify.com/
MIT License
130 stars 46 forks source link

error: Plugin gatsby-transformer-sharp returned an error #12

Open varya opened 4 years ago

varya commented 4 years ago

I tried to run this strater and got this error

error Plugin gatsby-transformer-sharp returned an error

  Error: Could not locate the bindings file. Tried:
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/build/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/build/Debug/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/build/Release/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/out/Debug/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/Debug/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/out/Release/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/Release/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/build/default/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/compiled/10.15.3/darwin/x64/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/addon-build/release/install-root/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/addon-build/debug/install-root/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/addon-build/default/install-root/sharp.node
   → /Users/varya/WebDev/Personal/team-resources-workshop/node_modules/gatsby-plugin-sharp/node_modules/sharp/lib/binding/node-v64-darwin-x64/sharp.node
drewknab commented 4 years ago

@varya I'm 75-85% sure this is an issue with sharp not supporting the version of node you currently have installed.

Try switching your current node version to the LTS release and see if that works.