ITADN

Class extends value undefined is not a constructor or null (BehaviorSubject.js:2:38)

#7592Opensmil-thakur 创建于 2026-02-03
S
smil-thakurcommented
I am encountering a critical failure when loading a Remote module (MFE) via Webpack Module Federation in an Angular environment. While initializing the Remote Entry, the process fails specifically within the RxJS bundle bundled inside the remote. The error occurs at: TypeError: Class extends value undefined is not a constructor or null at 91687 (OperatorSubscriber.js:5:41) This indicates that during the execution of OperatorSubscriber.js, the Subscriber class (which it extends) has not yet been initialized or is not being correctly resolved from the shared scope, resulting in a circular dependency deadlock or an undefined reference. <img width="741" height="273" alt="Image" src="https://github.com/user-attachments/assets/47720845-d50e-41b2-ba8d-1b259fc039fd" /> ### Expected behavior It should be properly initialized so that MFE can be initialized ### Reproduction code ```typescript ``` ### Reproduction URL _No response_ ### Version "rxjs": "7.8.2", ### Environment _No response_ ### Additional context _No response_
0 条评论