question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to load image files

See original GitHub issue

After upgrading to 3.0.0, I’m getting this error:

 ERROR in ./static/dist/images/products/Product_Landing_Quote.jpg
[2]     Module build failed: Error: dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
[2]       Referenced from: /Users/ev/Git/cumul8.com/node_modules/mozjpeg/vendor/cjpeg
[2]       Reason: image not found
[2]     
[2]         at Promise.all.then.arr (/Users/ev/Git
[2] /cumul8.com/node_modules/execa/index.js:170:11)
[2]         at process._tickCallback (internal/process/next_tick.js:103:7)
[2]      @ ./~/css-loader?module&localIdentName=[name]__[local]___[hash:base64:5]!./~/postcss-loader!./~/stylus-loader!./src/styles/pages/Products.styl 6:2152-2225

This error doesn’t happen on the 2.x.x version.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:14
  • Comments:36 (5 by maintainers)

github_iconTop GitHub Comments

104reactions
shelldandycommented, Nov 3, 2016

Found the solution as random as it seems its all fixed by running brew install libpng wtf is going on haha

5reactions
camiloeicommented, May 14, 2017

I solved this same issue installing ‘libpng’ as @kenguie said, and then installing the file-loader module: ‘npm install file-loader --save-dev’.

After that I ran ‘npm run build’ and everything worked ok!

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Reasons Why Images Are Not Loading on Your Website
1. Incorrect File Paths · 2. Files Names Misspelled · 3. Wrong File Extensions · 4. Missing Files · 5. The Website Hosting...
Read more >
9 Fixes When Images Not Loading in Chrome - Help Desk Geek
9 Fixes When Images Not Loading in Chrome · 1. Try a Different Browser · 2. Check the Show All Images Option ·...
Read more >
How to Fix Images Not Loading in Chrome - Online Tech Tips
Chrome's image loading issue isn't too difficult to fix. The error usually occurs when you've misconfigured an option in the browser or your ......
Read more >
7 Ways to Fix Google Chrome Not Loading Images - MakeUseOf
Chrome could've stopped loading images because of corrupted files in its data folder. The easiest fix is to rename the current data folder...
Read more >
How To Solve The Problem, "Error, Unable To Load Image ...
I was thankfully able to figure it out, and I would like to see ... How To Solve The Problem, "Error, Unable To...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found