microsoft / microsoft/monaco-editor
[Bug] Uncaught (in promise) Error: [invokeFunction] unknown service 'productService'
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/
Monaco Editor Playground Code
Reproduction Steps
- Open Command Palette
- Select
Paste as Text
Actual (Problematic) Behavior
See alert error
Uncaught (in promise) Error: [invokeFunction] unknown service 'productService'
Paste command doesn't work
Expected Behavior
Paste command should work
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Monaco Editor Playground linked in the issue and reproduce the Command Palette > Paste as Text steps. Trace the command's use of the missing productService and confirm the alert no longer occurs and paste works as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100