Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

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

Closed
@lucadibiagio

Description

@lucadibiagio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions