Comments (5)
Found the reason. Missing dependency. sudo apt-get install libpng16-dev
did the trick
from react-redux-boilerplate.
@shadowae @LifeIsPizza I have updated the dependencies with this commit - 2bd8904
image-webpack-loader
is known to have inconsistencies with other package versions in the past and I fixed it by updating the version as @LifeIsPizza mentioned. Now that I have updated all the dependencies to the latest stable version, hopefully this should have been fixed. Let me know if you still face this issue.
from react-redux-boilerplate.
Had a similar error for a libpng library:
libpng12.so.0: cannot open shared object file: No such file or directory
I resolved this by reinstalling with npm after editing the package.json file
"image-webpack-loader": "3.6.0",
to
"image-webpack-loader": "4.2.0",
And then it ran smoothly.
Hope this helps
---- EDIT
I've also tried this to make it work:
"image-webpack-loader": ">=3.6.0",
And then running
yarn update
before starting, to ensure the latest packages are used.
from react-redux-boilerplate.
Getting the same error with the current project state. After git pull, npm install and npm start i ended up with [email protected] and the described error.
EDIT: npm start doesn't show this error but it shows when i do the first request via browser if that makes a difference.
`ERROR in ./app/components/Header/images/banner.jpg
Module build failed (from ./node_modules/image-webpack-loader/index.js):
Error: Command failed: /home/django/react_frontend/node_modules/mozjpeg/vendor/cjpeg
/home/django/react_frontend/node_modules/mozjpeg/vendor/cjpeg: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
at Promise.all.then.arr (/home/django/react_frontend/node_modules/imagemin-mozjpeg/node_modules/execa/index.js:236:11)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./app/components/Header/Header.js 11:0-41 33:44-50
@ ./app/components/Header/index.js
@ ./app/containers/App/App.js
@ ./app/containers/App/index.js
@ ./app/app.js
@ multi eventsource-polyfill webpack-hot-middleware/client?reload=true ./app/app.js`
EDIT: i've tried a downgrade to [email protected] with the same results.
from react-redux-boilerplate.
This image webpack loader has system dependencies and they differ from one OS to another. It's been such a bummer since the beginning and we gotta figure out a platform independent way to get this to work.
Thanks @jandetlefsen , I'm gonna close this issue out for now.
from react-redux-boilerplate.
Related Issues (20)
- What is the purpose of export { mapDispatchToProps } HOT 1
- Deploy to heroku failed HOT 2
- Error on installing package HOT 3
- Webpack compile error after fresh git clone, npm install, then npm start HOT 3
- Redirect does not update Component HOT 3
- Application level logging HOT 4
- How to deploy on subdirectory HOT 1
- Can this boiler plate be used for making API's? HOT 1
- ℹ 「wdm」: Failed to compile from fresh clone HOT 3
- Webpack route page not found HOT 1
- TypeScript version? HOT 1
- Create a new file called init.js to initialize some of modules HOT 1
- css loader issues HOT 1
- Inject reducer arbitrarily rather than top level for redux store to replace reducer HOT 2
- Is there an even more simplified boilerplate without that confusing `reselect` stuff?
- Update README with code removal reasons
- I tried to migrate my project using this boilerplate to your newest version without immutable.js - getting many errors HOT 2
- Need to do hard refresh on new updates. HOT 6
- npm audit found 97 high severity vulnerabilities
- Where routes and actions should go ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-redux-boilerplate.