Cannot read properties of undefined (reading 'comboDocumentIdentifier') #136
Unanswered
krishnagogada
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
@krishnagogada hey! You could look to that example or sandbox example. They both are using cdn integration. As for |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I integrated Ace Linters using CDN's.
I got one error from the sentry.
Error:- Cannot read properties of undefined (reading 'comboDocumentIdentifier')
/ace-linters@latest/build/ace-linters.js in LanguageProvider.$getFileName at line 20826:40
/ace-linters@latest/build/ace-linters.js in LanguageProvider.doHover at line 21031:46
/ace-linters@latest/build/ace-linters.js in HoverTooltip.$gatherData at line 20972:18
/ace-linters@latest/build/ace-linters.js in HoverTooltip.waitForHover at line 19639:18
I try to understand the code. To my understanding to get
sessionLanguageProviderswe have to setsessionLanguageProviderswith thesession["id"].But from the below code, it is like registering the editor and then registering the session.
language-provider.ts

But it should be reversed. 1st register the session and then register the editor.
I am not sure about this. But I just had this doubt. Or else is there any possibility of making a mistake from the integration side while integrating through CDN?
Do you guys have any documentation regarding the functionality options? I have this doubt about what
hover: booleanwill do in functionality?Beta Was this translation helpful? Give feedback.
All reactions