You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
I have been loading PNG files just fine, but today I wanted to use JPG images too.
I get the following error:
ERROR in ./src/images/dimt.jpg
Module build failed: Error: dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
Referenced from: /Applications/MAMP/htdocs/portfolio/node_modules/mozjpeg/vendor/cjpeg
Reason: Incompatible library version: cjpeg requires version 36.0.0 or later, but libpng16.16.dylib provides version 27.0.0
at Promise.all.then.arr (/Applications/MAMP/htdocs/portfolio/node_modules/execa/index.js:201:11)
at process._tickCallback (internal/process/next_tick.js:103:7)
@ ./src/pug/app.pug 1:5016-5045
@ multi ./src/pug/app.pug ./src/js/app.js ./src/scss/app.scss
I don't have administrative privileges on the remote Red Hat build machine I am using in our environment. Why do I need to install a system-level binary to make image-webpack-loader play nicely with Node/NPM/Webpack? This should not be the case.
Has anybody looked into the long-term solution for those of us who cannot simply install libpng? Any help would be appreciated.
Hi,
I have been loading PNG files just fine, but today I wanted to use JPG images too.
I get the following error:
Any idea what's going on here?
Here's my webpack config for the loader section:
Thanks
The text was updated successfully, but these errors were encountered: