Open golmujik opened 3 years ago
Run this command in your project directory:
npm install git://github.com/miketromba/monaco-editor-textmate.git#patch-1
(or the yarn
equivalent)
If the error you're seeing goes away, let me know, I'll just merge this patch into the main branch.
Hii I will check and tell
I have fixed this problem and even tested it, it is working perfectly.
Please help, I am getting this error:
Uncaught Error: editor._themeService.getTheme is not a function
TypeError: editor._themeService.getTheme is not a function at Object.exports.TMToMonacoToken (tm-to-monaco-token.js:37) at eval (index.js:45) at Array.map ()
at Object.tokenize (index.js:42)
at TokenizationSupport2Adapter.tokenize2 (standaloneLanguages.js:208)
at safeTokenize (textModelTokens.js:372)
at TextModelTokenization._updateTokensUntilLine (textModelTokens.js:296)
at TextModelTokenization._tokenizeOneInvalidLine (textModelTokens.js:282)
at TextModelTokenization._revalidateTokensNow (textModelTokens.js:233)
at Object.eval [as callback] (textModelTokens.js:220)
at eval (errors.js:20)
index.js
webpack.config.js