React-hot-loader: Maximum call stack size exceeded

Created on 8 May 2015  路  3Comments  路  Source: gaearon/react-hot-loader

I'm running into a stack overflow problem, and I don't know exactly how to resolve it. You can see the configuration I'm using here: https://github.com/react-bootstrap/react-bootstrap/tree/hot-reload. Which is the branch for react-bootstrap/react-bootstrap#631.

Any help here would be appreciated.
screen shot 2015-05-08 at 1 31 32 pm

Most helpful comment

See here:

Uncaught RangeError: Maximum call stack size exceeded

When using WebpackDevServer CLI flag --hot, the plugin new HotModuleReplacementPlugin() should not be used and vice versa, they are mutually exclusive but the desired effect will work with any of them.

Remove HotModuleReplacementPlugin if you're using --hot CLI flag and it should work. I don't why it works this way, it's one of the reasons I prefer using WebpackDevServer's Node API instead.

Feel free to reopen if this doesn't solve it!

All 3 comments

If you want to see the above error on that branch run:

npm install
npm run docs

It should load up on port 4000 with the webpack-dev-server hosted on port 4001.

I see this error when I change the docs/src/HomePage.js component text.

See here:

Uncaught RangeError: Maximum call stack size exceeded

When using WebpackDevServer CLI flag --hot, the plugin new HotModuleReplacementPlugin() should not be used and vice versa, they are mutually exclusive but the desired effect will work with any of them.

Remove HotModuleReplacementPlugin if you're using --hot CLI flag and it should work. I don't why it works this way, it's one of the reasons I prefer using WebpackDevServer's Node API instead.

Feel free to reopen if this doesn't solve it!

That did it thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

theKashey picture theKashey  路  4Comments

esturcke picture esturcke  路  3Comments

reintroducing picture reintroducing  路  4Comments

lemonmade picture lemonmade  路  3Comments

Anahkiasen picture Anahkiasen  路  5Comments