Skip to content
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

Uncaught RangeError: Maximum call stack size exceeded #911

Closed
YanYuanFE opened this issue Mar 28, 2018 · 2 comments
Closed

Uncaught RangeError: Maximum call stack size exceeded #911

YanYuanFE opened this issue Mar 28, 2018 · 2 comments
Assignees

Comments

@YanYuanFE
Copy link

Description

After update component,chrome update,and console err ‘Uncaught RangeError: Maximum call stack size exceeded’

Expected behavior

not error

Actual behavior

console error

Environment

React Hot Loader version:4.0.0

Run these commands in the project folder and fill in their results:

  1. node -v:9.9.0
  2. npm -v:5.6.0
  3. webpack: 4.2.0

Then, specify:

  1. Operating system:ubuntu16.04
  2. Browser and version:chrome 65.0.3325.181(正式版本) (64 位)

Reproducible Demo

https://github.com/YanYuanFE/react-webpack

@theKashey theKashey self-assigned this Mar 28, 2018
@theKashey
Copy link
Collaborator

Look like webpack is broken - the source code contains two blocks with parentHotUpdateCallback

  • one on line 5, added by webpack itself
  • the second on 6xx line, added by hot-module-replacement plugin

@theKashey
Copy link
Collaborator

Nope. This is your problem.
Just remove HotModuleReplacementPlugin from webpack.config. "--hot" option for webpack-dev-server is doing the same.

laggingreflex added a commit to laggingreflex/webpack-simple-node-api that referenced this issue May 21, 2019
Not sure what changed in Webpack (4.30?) but this seems to be causing errors now: gaearon/react-hot-loader#911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants