microsoft / microsoft/monaco-editor
[Bug] 0.47.0 TypeError: Cannot read properties of undefined (reading 'CI')
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
No response
Monaco Editor Playground Code
No response
Reproduction Steps
vue3 vite
Actual (Problematic) Behavior
TypeError: Cannot read properties of undefined (reading 'CI')
at node_modules/.pnpm/monaco-editor@0.47.0/node_modules/monaco-editor/esm/vs/base/common/platform.js (platform.js:42:27)
at __init (chunk-GFT2G5UO.js?v=536ba6aa:15:56)
at node_modules/.pnpm/monaco-editor@0.47.0/node_modules/monaco-editor/esm/vs/base/common/async.js (async.js:9:1)
at __init (chunk-GFT2G5UO.js?v=536ba6aa:15:56)
at node_modules/.pnpm/monaco-editor@0.47.0/node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js (colorRegistry.js:6:1)
at __init (chunk-GFT2G5UO.js?v=536ba6aa:15:56)
at symbolIcons.js:7:1
Expected Behavior
Can compile normally
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 by reproducing the Vue 3/Vite setup with monaco-editor 0.47.0 and inspect node_modules/.pnpm/monaco-editor@0.47.0/node_modules/monaco-editor/esm/vs/base/common/platform.js, where the TypeError occurs. Trace the imports through async.js, colorRegistry.js, and symbolIcons.js; done means the setup compiles normally without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vite
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100