Unable to load image files
See original GitHub issueAfter 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:
- Created 7 years ago
- Reactions:14
- Comments:36 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Found the solution as random as it seems its all fixed by running
brew install libpng
wtf is going on hahaI 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!