-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load images #31
Comments
Thanks, a few issues in the generator have been fixed and this was one of them, but the boilerplate still has them since it was generated a while back. Will be manually fixing this boilerplate soon. |
the material-ui sample app actually has the image fix https://github.com/electrode-io/electrode-react-sample-material-ui |
To get isomorphic images working, update server/index.js with this https://github.com/electrode-io/electrode-react-sample-material-ui/blob/master/server/index.js#L38-L40. |
The isomorphic loader works only for development, it doesn't run after you run
|
picked minimum versions that incorporate the latest big security issues
Hi, I'm having a similar issue with electrode on Mac out of the box with a new app with totally default settings:
I tried other PNG or JPG files and they all cause the same error. Node JS version: v9.11.2 What can you suggest to resolve the issue? |
I´m facing the same problem.
How can i fix it? |
For me, it was because I tried to used Express instead of Hapi. With Hapi, I also had that error, but at some point it was gone, and I don't know what changed. It just started working for all newly generated projects. |
I added this line into
home.jsx
after a fresh clone:And I got this error after running
gulp dev
:The text was updated successfully, but these errors were encountered: