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

sharp graphql hero.js image fails in Netlify #23

Closed
mcasey8540 opened this issue Aug 6, 2019 · 1 comment
Closed

sharp graphql hero.js image fails in Netlify #23

mcasey8540 opened this issue Aug 6, 2019 · 1 comment

Comments

@mcasey8540
Copy link

mcasey8540 commented Aug 6, 2019

Hello 👋- I used a different image in my hero.js file than the one from the tutorial. Local develop and build runs fine, but deployment fails in Netlify with this sharp error.

10:02:01 AM: (sharp:1192): GLib-CRITICAL **: 14:02:01.583: g_hash_table_lookup: assertion 'hash_table != NULL' failed
10:02:01 AM: (sharp:1192): GLib-CRITICAL **: 14:02:01.583: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
10:02:01 AM: (sharp:1192): GLib-CRITICAL **: 14:02:01.583: g_hash_table_lookup: assertion 'hash_table != NULL' failed

I added my own photo to /images and updated the file path in hero.js, any idea why it fails in Netlify deploy? I can only get a successful build if I use nicole-harrington-mn.jpg

@mcasey8540
Copy link
Author

Resolved: I had to clear the Netlify cache and redeploy.

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

1 participant