Comments (16)
Yeah you have to change entry I think, just that.
from error-overlay-webpack-plugin.
@neoziro if you can't fix the issue (because of time limit or whatever), at least don't close the issue with simple answer that don't even fix the issue (I guess you are not sure neither as you mentioned I think in your answer). obviously I can not change my webpack config just because your plugin likes it that way.
Please don't contribute to open source, but if you do be professional at it. I'll remove your plugin, simply because I can not write my webpack config based on your buggy code.
I see you added help wanted
tag to almost all issues. if you can not support (clearly you can't), at least add a note in README, so users can make better decision about using your code.
from error-overlay-webpack-plugin.
To anyone who like to have error overlay without error-overlay-webpack-plugin
, the solution is very simple, just run npm i react-dev-utils -D
and change the entry
option of your webpack.config.js
to: [require.resolve('react-dev-utils/webpackHotDevClient'), './index.jsx']
, I'm using this method for months.
Remember, you should use react-dev-utils
only in development
mode.
from error-overlay-webpack-plugin.
@neoziro I cloned error-overlay-webpack-plugin
, without any change the provided example works fine (of course I changed const ErrorOverlayPlugin = require('../lib')
to const ErrorOverlayPlugin = require('../src')
). also I updated wabpack
packages and again everything works fine. I think I have to test the code with one of my projects. If I do (and could fix the problem), I'll post the result here or submit PR for it.
from error-overlay-webpack-plugin.
Having same error here
from error-overlay-webpack-plugin.
Have same error
from error-overlay-webpack-plugin.
Hello, OK it is a bug. Could someone submit a PR to fix it?
from error-overlay-webpack-plugin.
It's ok in v0.1.6 but not in v0.1.7.
from error-overlay-webpack-plugin.
Changing "entry: './static/src/index.js'" to "entry: ['./static/src/index.js']"
from error-overlay-webpack-plugin.
Hello @dehghani-mehdi, if you are not happy feel free to fix this plugin with a PR or simply don't use it.
from error-overlay-webpack-plugin.
@neoziro, Hi, don't worry, I don't use it anymore, I mentioned that in my prev comment.
from error-overlay-webpack-plugin.
I donβt worry π€
from error-overlay-webpack-plugin.
Good for you ;)
from error-overlay-webpack-plugin.
@dehghani-mehdi feel free to submit a PR with an upgraded version of react-dev-utils
. I see that there is a new version but I don't have enough time to test if everything work on react-dev-utils
v9.
from error-overlay-webpack-plugin.
Looks like it already fixed by #43
from error-overlay-webpack-plugin.
Good!
from error-overlay-webpack-plugin.
Related Issues (20)
- CORS bug
- Absent type def for the plugin HOT 1
- DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. HOT 2
- SSR Support? HOT 1
- Critical security vulnerability in react-dev-utils HOT 1
- BUG: can't resolve 'querystring' HOT 1
- Potential Overwriting of setupMiddlewares in devServer
- error-overlay-webpack-plugin doesn't work correctly HOT 1
- Iframe does not load HOT 3
- Missing `querystring` dep in `package.json`
- npm -i does not install a 'src' directory
- Options has an unknown property 'before' HOT 6
- Can i use it with laravel mix? HOT 1
- Uses vulnerable version of react-dev-utils
- Uncaught ReferenceError: process is not defined HOT 1
- Deprecation warning log from webpack-dev-server.
- compatibility with both `ws` and `sockjs` HOT 1
- Cannot import into webpack.mjs HOT 2
- error with webpack 4 HOT 2
- Uncaught Error: Iframe has not been created yet.
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 error-overlay-webpack-plugin.