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

[Bug] loadForeignModule error after I use editor with language json #4499

Open
2 tasks done
hardikmodi1 opened this issue May 7, 2024 · 0 comments
Open
2 tasks done

Comments

@hardikmodi1
Copy link

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

Reproduction Steps

I have tried to reproduce the error here
https://github.com/hardikmodi1/monaco-edrror
Run the nextjs app and initially editor will render with groovy language at that time it is not giving any error on console, but if I switch the language to json then it gives the error and then if I switch to groovy then also it is continue giving the same error.

Actual (Problematic) Behavior

Gives loadForeignModule error when once the editor with json/javascript is loaded on screen and then editor with any other language like groovy is used.

Expected Behavior

Should not give the error with groovy and how to fix this error for all the languages in nextjs app?

Additional Context

No response

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

1 participant