-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
GLib-CRITICAL — an issue with Sharp. #3570
Comments
I'm guessing yeah, something to do with the native dependency. Did you try removing node_modules and reinstalling? |
Yes, I did. No luck. I also tried rolling back gatsby and sharp a few versions, no luck. |
I had exactly the same issues yesterday! But I can't exactly tell how I've solved it? It did appear after installing a new react component |
Hm. This sucks balls. I’ve been unable to work on my site ever since the issue surfaced. I had not added nor removed any packages. |
@PiotrF very weird :-( Any chance you have another machine you could try running this site on? |
Weird indeed. Yes I have tried that. Build was also failing on netlify, weirdly. I have now updated the following dependencies and the issue is gone.
…so closing this one for now. |
I'm having the same problem after creating a new blog-starter project and adding my existing pages. |
I just ran across this problem as well. My path started when doing my first deployment to Netlify of a site that I've been working on locally for a few weeks. My first deploy failed due to an error building the
First I tried upgrading all of my dependencies. Here's the relevant modules that got bumped:
On the next deployment I got a build error for
Researching that error led me to #2076. I've been using yarn, my repo has a
I reproduced this behavior on my local machine by removing Environments:
I'm stumped and extremely frustrated. I'm not familiar with debugging native dependency issues with Node. I just wanted to deploy my first draft so I could start getting feedback, and here I am 3 hours later 😖 |
I installed Docker, pulling Netlify's docker image, and following their instructions here for running a build locally. I ran into a separate issue with the script choking on
I changed that line to just Note, I've already tried several times redeploying on Netlify with a clear build cache |
I found the root issue |
Yarn has already fixed the problem in the latest version, 1.4, which is still in the release candidate stage. You can use it by specifying it in a [build.environment]
YARN_VERSION = "1.4.0" Classic software day... long rabbit hole, simple fix 😪 |
I was able to fix this by just removing yarn.lock since it's an issue with Yarn |
Adding the |
if it doesn't work with npm nor yarn the your issue is probably because of EDITThe problem was due to an image that had too long name, I only knew it because the plugin were updated since then and it actually a usable error message. |
This is closed but I wanted to add a note that I saw this yesterday. It was really hard to find why it was happening. Switching from npm to yarn made it work. But I wanted to dig deeper. It turns out that the problem was a bad link in my markdown (a bad closing |
I had same issues on ubuntu 18.04, then I run the following step: delete package-lock.json |
Description
Not sure when that happened, wasn’t running my site for a while, changed nothing in the repo, and now
gatsby develop
fails at the following. Could mean has to do something with OS upgrade?Environment
Gatsby version: 1.9.157
Gatsby-cli version: 1.1.28
Node.js version: v9.4.0
Operating System: MacOS High Sierra 10.13.2
File contents (if changed):
package.json
:Anyone else experiencing this?
The text was updated successfully, but these errors were encountered: