Skip to content
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

[Vue warn]: Error in mounted hook: "Error: Cannot find module 'monaco-editor'" #139

Open
PeterlitsZo opened this issue Nov 13, 2020 · 2 comments

Comments

@PeterlitsZo
Copy link

PeterlitsZo commented Nov 13, 2020

When I use the vue-monaco, it raise this warning in my electrion application.

What should I do? I installed monaco-editor and monaco-editor-webpack-plugin but do not work for me.

@ivansieder
Copy link

@PeterlitsZo do you have monaco-editor-webpack-plugin with a Version >= 2.x.x? If so, try downgrading to the latest 1.x.x version.

@PeterlitsZo
Copy link
Author

PeterlitsZo commented Nov 26, 2020

@ivansieder Well, I found that this lib do not maintain for a long time, so I am using monaco-editor-webpack-plugin(^2.0.0) and monaco-editor(^0.21.2) directly. It works good and I think... emmm... maybe use it directly is a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants