Comments (8)
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.
from electrode.
the material-ui sample app actually has the image fix https://github.com/electrode-io/electrode-react-sample-material-ui
from electrode.
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.
from electrode.
fixed in
pr: #32
from electrode.
The isomorphic loader works only for development, it doesn't run after you run gulp build
and gulp server-prod
the images are not showing. Here's how to reproduce it:
git clone https://github.com/electrode-io/electrode-boilerplate-universal-react-node.git
cd electrode-boilerplate-universal-react-node
npm install
gulp build
NODE_ENV=production gulp server-prod
from electrode.
Hi,
I'm having a similar issue with electrode on Mac out of the box with a new app with totally default settings:
<my project path>/src/client/images/electrode.png: Unexpected character '�' (1:0)
> 1 | �PNG
| ^
2 |
3 |
4 | IHDRHU�GgAMA��
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?
from electrode.
I´m facing the same problem.
<my project path>/src/client/images/electrode.png: Unexpected character '�' (1:0)
How can i fix it?
from electrode.
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.
from electrode.
Related Issues (20)
- update mime to ver2 in packages/xarc-app-dev
- add exit handler to dev-admin to kill child
- subapp js bundle name compiled as [hash].[subapp].js but matchEntry looks for x.startsWith(`${entryName}.bundle`) || x.startsWith(`${entryName}.~`); HOT 2
- SplitChunksPlugin is not working HOT 1
- While running in NODE_ENV=production errors are swallowed and not logged
- Problems with ignite generate-component HOT 1
- Look at your Doc web site page... result is not what you want it to be. HOT 2
- Css module not working with typescript HOT 1
- Support automatic enzyme configuration for Jest > 24.
- Adding @xarc/opt-stylus does not add Stylus support. HOT 1
- Error when testing with @xarc/create-app
- Initial install doesn't validate with TypeScript HOT 2
- Which branch is used for Deploy? HOT 2
- No latest complete boilerplate? HOT 1
- about arduino code help
- Removing node.js HOT 1
- Docs URL
- Migration Guide
- TypeError: Cannot read properties of undefined (reading 'location')
- Question: How to enable critical css option on electrode version 4.1.1 (electrode-archetype-react-app)
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 electrode.