[Question] RangeError: Maximum call stack size exceeded [HMR] #1460

Closed
opened 2025-08-09 17:20:14 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @lucadibiagio on 8/2/2016

hi all,
we are building an SPA using Angular2 (rc4) AspNet Core and WebPack.

we are using WebPackDevmiddleware with HotmoduleReplacement enable, all goes well except the automatic browser refresh, when we change semething in the code (ts, scss html ecc) webpack rebuild the package, browser undestand that something has change (HWR rebuilding ecc) but instead of reload page browser we obtain an exception in the polyfills.boundle.js:


var parentHotUpdateCallback = this["webpackHotUpdate"];
    this["webpackHotUpdate"] = 
    function webpackHotUpdateCallback(chunkId, moreModules) { // eslint-disable-line no-unused-vars
        hotAddUpdateChunk(chunkId, moreModules);
        if(parentHotUpdateCallback) parentHotUpdateCallback(chunkId, moreModules);
    }

```--------------------------------

> exception of type Uncaught RangeError: Maximum call stack size exceeded
> 
> any idea?
> 
> thanks and regards
*Originally created by @lucadibiagio on 8/2/2016* hi all, we are building an SPA using Angular2 (rc4) AspNet Core and WebPack. > we are using WebPackDevmiddleware with HotmoduleReplacement enable, all goes well except the automatic browser refresh, when we change semething in the code (ts, scss html ecc) webpack rebuild the package, browser undestand that something has change (HWR rebuilding ecc) but instead of reload page browser we obtain an exception in the polyfills.boundle.js: --- `````` var parentHotUpdateCallback = this["webpackHotUpdate"]; this["webpackHotUpdate"] = function webpackHotUpdateCallback(chunkId, moreModules) { // eslint-disable-line no-unused-vars hotAddUpdateChunk(chunkId, moreModules); if(parentHotUpdateCallback) parentHotUpdateCallback(chunkId, moreModules); } ```-------------------------------- > exception of type Uncaught RangeError: Maximum call stack size exceeded > > any idea? > > thanks and regards ``````
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1460
No description provided.