Gatsby: Reason: image not found

Created on 11 Dec 2018  Β·  7Comments  Β·  Source: gatsbyjs/gatsby

yarn run v1.12.3
$ gatsby develop
success open and validate gatsby-configs β€” 0.005 s
success load plugins β€” 0.145 s
error Plugin gatsby-plugin-manifest returned an error
Error: dlopen(/Users/xxxxxxx/Workspace/xxxxxxx/node_modules/sharp/  build/Release/sharp.node, 1): Library not loaded: @rpath/libvips-cpp.42.dylib
    Referenced from: /Users/xxxxxxx/Workspace/xxxxxxx/node_modules/s  harp/build/Release/sharp.node
    Reason: image not found

Which image? Where I should start looking for the problem?

stale? needs reproduction

Most helpful comment

The issue occurs as soon as I try to install some other dependency with yarn add. Removing yarn.lock wasn't required for me to solve this. What I did was:

rm -rf .cache
yarn install --force

The force flag rebuilds all packages.

All 7 comments

Some more info would be useful. I would consider removing issue and reposting again following the guidelines so people can help you as quickly as possible

I agree, Gatsby should return more info about this error πŸ˜‰

No I mean can you provide more info. Maybe you would like to link to your repo and follow the instruction when filling out a ticket....

Description

Describe the issue that you're seeing.

Steps to reproduce

Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue _much_ easier to diagnose (seriously).

Expected result

What should happen?

Actual result

What happened.

Environment

Run gatsby info --clipboard in your project directory and paste the output here. Not working? You may need to update your global gatsby-cli - npm install -g gatsby-cli

Try removing .cache with rm -rf .cache, also remove yarn.lock and run yarn install again.

If this doesn't fix the issue please follow Shannon's comment above.

The issue occurs as soon as I try to install some other dependency with yarn add. Removing yarn.lock wasn't required for me to solve this. What I did was:

rm -rf .cache
yarn install --force

The force flag rebuilds all packages.

Hiya!

This issue has gone quiet. Spooky quiet. πŸ‘»

We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.

If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

Thanks for being a part of the Gatsby community! πŸ’ͺπŸ’œ

@shansmith01
I know, the main problem with this issue is that I cannot fix this on my own because Gatsby is returning very little information about this error. Reason image not found is definitely not enough to even try to find the error on my own.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KyleAMathews picture KyleAMathews  Β·  3Comments

totsteps picture totsteps  Β·  3Comments

theduke picture theduke  Β·  3Comments

ghost picture ghost  Β·  3Comments

magicly picture magicly  Β·  3Comments