gatsby: 'gatsby build' getting stuck with some odd warnings...

Trying to run Gatsby Build and I’m getting this in the terminal:

(sharp:3683): GLib-GObject-WARNING **: 11:45:16.559: cannot register existing type 'VipsObject'

(sharp:3683): GLib-CRITICAL **: 11:45:16.559: g_once_init_leave: assertion 'result != 0' failed

(sharp:3683): GLib-GObject-WARNING **: 11:45:16.559: invalid class cast from 'VipsForeignLoadCsv' to '<invalid>'

⠂ run graphql queries — 8/13 91.84 queries/second

it’s getting stuck running queries and won’t stop running them, and nothing is building, and it worked fine last night. It just seems stuck this morning.

Any thoughts on what might be happening?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 10
  • Comments: 17 (3 by maintainers)

Most upvoted comments

I can see this issue causing some consternation to others, so here’s the simple summary

npm up
npm ls sharp

check you don’t have any version mismatches with sharp. does that look like the fix?

this helped me: update this dependency used sharp npm i gatsby-plugin-manifest@2.2.20