monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

[Bug] 0.47.0 TypeError: Cannot read properties of undefined (reading 'CI')

Open kelvinye-lab opened this issue 1 year ago • 1 comments

Reproducible in vscode.dev or in VS Code Desktop?

  • [ ] Not reproducible in vscode.dev or VS Code Desktop

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/[email protected]/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/[email protected]/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/[email protected]/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

kelvinye-lab avatar Mar 11 '24 02:03 kelvinye-lab

I faced to the same issue at https://github.com/microsoft/monaco-editor/issues/4402 but nothing update in version 0.47.0. It started from https://github.com/microsoft/vscode/pull/200935

Currently, I still keep using version 0.45.0 instead. So bad

sonswift avatar Mar 11 '24 05:03 sonswift