wobsoriano / codeplayground

Codepen.io clone using Vue 3 and Monaco Editor
https://codeplayground.vercel.app
163 stars 45 forks source link

Uncaught (in promise) Canceled: Canceled (restoreViewState) #5

Closed azinhoxx closed 2 weeks ago

azinhoxx commented 2 weeks ago

The error is harmless.

If you will update dependence of monaco-editor version, you are going to get some uncaught errors in your console after you'll try to change language model.

it's has been added in some versions after current in pnpm-lock in repo https://github.com/microsoft/monaco-editor/issues/2382#issuecomment-796709280

azinhoxx commented 2 weeks ago

https://github.com/microsoft/monaco-editor/issues/2382#issuecomment-796741318 there's solution, how you can ignore unhandled rejection