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

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

Open
varya opened this issue May 8, 2020 · 1 comment · May be fixed by #44
Open

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

varya opened this issue May 8, 2020 · 1 comment · May be fixed by #44

Comments

@varya
Copy link

varya commented May 8, 2020

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
Copy link

drewknab commented May 11, 2020

@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.

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