microsoft / microsoft/monaco-editor
[Bug] Contributing / Dev Setup docs possibly out-of-date or broken for Chrome/OS X
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
N/A
Monaco Editor Playground Code
N/A
Reproduction Steps
OS X 14.1 Sonoma
VSCode 1.85.2
Chrome
Follow the instructions for Debugging/Developing Language Support
npm install Then run "Monaco Editor Playground"
The build is successful, the playground opens but the preview window has a permanent spinner.
The Console in VSCode shows the following error:
Loading "monaco-editor-core" failed
Error: [object Event]
at Object.ensureError (/Users/ryanackley/Projects/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:234:18)
at ModuleManager._createLoadError (/Users/ryanackley/Projects/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:1461:26)
at ModuleManager._onLoadError (/Users/ryanackley/Projects/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:1472:23)
at loadNextPath (/Users/ryanackley/Projects/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:1615:11)
at Object.errorback (/Users/ryanackley/Projects/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:1635:7)
at OnlyOnceScriptLoader.triggerErrorback (/Users/ryanackley/Projects/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:601:24)
at /Users/ryanackley/Projects/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:588:107
at HTMLScriptElement.errorEventListener (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor-core/dev/vs/loader.js:621:5) {phase: 'loading', moduleId: 'monaco-editor-core', neededBy: Array(1), stack: 'Error: [object Event]
at Object.ensureErr…es/monaco-editor-core/dev/vs/loader.js:621:5)', message: '[object Event]'}
### Actual (Problematic) Behavior
Steps described in documentation lead to an unusable playground
### Expected Behavior
Ability to debug monaco language support locally
### Additional Context
Likely a permissions issue trying to load a local script from a remote domain.
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 Debugging/Developing Language Support section in CONTRIBUTING.md and follow its npm install and “Monaco Editor Playground” steps on the reported OS X, VS Code, and Chrome setup. Inspect the playground preview and the monaco-editor-core loader error. Done means the documented setup produces a usable preview or clearly documents corrected prerequisites and steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- developer-experience, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100