question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"ReferenceWidget depends on UNKNOWN service IPeekViewService" error since 0.17

See original GitHub issue

monaco-editor version: 0.17.1 Browser: Chrome / Firefox OS: Win

Steps or JS usage snippet reproducing the issue:

Just open the Monaco Editor playground and hit Shift+F12 or Alt+F12 on a symbol.

Error in the browser console: image

as text

simpleServices.js:206 Error: [createInstance] ReferenceWidget depends on UNKNOWN service IPeekViewService.
    at InstantiationService._createInstance (instantiationService.js:144)
    at InstantiationService.createInstance (instantiationService.js:118)
    at StandaloneReferencesController.ReferencesController.toggleWidget (referencesController.js:248)
    at ReferenceAction.run (referenceSearch.js:140)
    at ReferenceAction.EditorAction.runEditorCommand (editorExtensions.js:230)
    at editorExtensions.js:187
    at InstantiationService.invokeFunction (instantiationService.js:94)
    at StandaloneEditor.CodeEditorWidget.invokeWithinContext (codeEditorWidget.js:298)
    at ReferenceAction.EditorCommand.runCommand (editorExtensions.js:179)
    at handler (editorExtensions.js:101)
    at InstantiationService.invokeFunction (instantiationService.js:94)
    at StandaloneCommandService.executeCommand (simpleServices.js:260)
    at StandaloneKeybindingService.AbstractKeybindingService._doDispatch (abstractKeybindingService.js:195)
    at StandaloneKeybindingService.AbstractKeybindingService._dispatch (abstractKeybindingService.js:142)
    at HTMLDivElement.<anonymous> (simpleServices.js:287)

Both worked in Monaco Editor 0.16.2.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
AviVahlcommented, Jun 28, 2019

Awesome. Thanks for the fix. Any chance for a patch release of monaco-editor/monaco-editor-core? 😃

0reactions
ulrichbcommented, Jul 31, 2019

Pleeease release a new version containing the fix.

purr

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found