Cannot read properties of undefined (reading 'languages') after v3.0.0
Marcus-Goectau opened this issue · comments
Marcus Goectau commented
After upgrading from v3.0.0 to v3.1.0, subscriptions made to loaded
of CodeEditorService
seem no longer fire, leading to monaco
not being set and staying undefined on the language defaults services. I believe the issue is caused by the change made as a result of #590. After changing loaded
back to a BehaviorSubject
, the package functions with no errors as it used to. BehaviorSubject
is more appropriate here because the language defaults services appear to be subscribing to loaded
after it emits a value for the first time.