-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: languageDefinitions is undefined #2738
Comments
I'm facing something similar, it seems like here: https://github.com/microsoft/monaco-languages/blob/0500e21d9594b49584ef27175776d8b52f2eedc9/src/_.contribution.ts#L17
|
One thing I did find is that this issue goes away when switching from Node 12 + Npm 6 -> Node 14 + Npm 7, though in my case I need to stay in the lower versions. |
I can sadly reproduce this with |
This is blocking for me too... any solution here? |
I selected those versions and I can resolve this problem. "monaco-editor": "0.20.0",
"monaco-editor-webpack-plugin": "1.9.1",
"vue": "^2.6.11",
"vue-monaco": "^1.2.2", I confimed verions of node.js is |
Thank you @goofmint for sharing your solution. I wish this could be possible with all latest versions. |
I confirmed that it's working with the latest versions of webpack-plugins and monaco-editor.
problem was at |
I'm not sure where the problem is. I think this might be a problem with |
I am using vue and here is my vue.config.js
The text was updated successfully, but these errors were encountered: