monkey-patch: Monkey patch corrupts the vscode 1.63.0 -- cannot open any file
I am not able to open any file.
error I am getting for every file is:
Unable to open 'blah.md': Cannot find module 'jschardet' Require stack: - electron/js2c/renderer_init.
VS Code version: Code - Insiders 1.63.0-insider (4e303fc, 2021-11-22T05:26:03.776Z) OS version: Darwin x64 21.1.0 Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-9750H CPU @ 2.60GHz (12 x 2600) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled webgl: enabled webgl2: enabled |
Load (avg) | 4, 4, 4 |
Memory (System) | 16.00GB (0.02GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 20
Can you guys retest this with once monkeypatch 0.1.16 is online?
I finally managed to reproduce the problem. I get the error when I trying to choose the encoding for the file. I’m looking into this.
I encountered the issue approximately two weeks ago, too. However, I could not reproduce the issue… (So I did not say anything.)
I updated VS Code Stable this morning, and the same error occurred (as is expected).
“Reinstalling VS Code Insiders and NOT applying the Monkey Patch is the only way to fix it.” The same here.
Update in the morning on the tenth of December:
The issue remains in the latest insider build (as is expected).
However, I cannot reproduce the issue on PCs other than my own PC (as is expected, again).
Maybe there is something else that causes the issue.
First time running Code after upgrading to Windows 11 and got the same problem. I tried disabling Monkey Patch and Customize UI. Didn’t make any difference.