vscode: Extension host crashes

Issue Type: Bug

whenever i try to import a scss file into another file and start typing the name of file the extension hosts crashes everytime.

  • If i copy paste the exact name of the file then everything works fine,
  • autocompletion also works fine but while manually typing the path the extension host crashes.

VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z) OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel® Core™ i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.91GB (3.44GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (36)
Extension Author (truncated) Version
better-comments aar 2.0.5
aessoft-class-autocomplete AES 0.1.0
vscode-angular2-files ale 1.6.2
html-class-suggestions And 1.0.7
ng-template Ang 0.901.9
vscode-color ans 0.4.5
path-intellisense chr 1.4.2
bracket-pair-colorizer Coe 1.0.61
vscode-eslint dba 2.1.5
vscode-html-css ecm 0.2.3
prettier-vscode esb 5.0.0
auto-close-tag for 0.5.7
auto-complete-tag for 0.1.0
auto-rename-tag for 0.1.3
live-html-previewer hdg 0.3.0
beautify Hoo 1.5.0
plantuml jeb 2.13.12
vscode-peacock joh 3.7.2
node-module-intellisense lei 1.5.0
Kotlin mat 1.7.1
vscode-language-babel mgm 0.0.27
powershell-preview ms- 2020.6.0
debugger-for-chrome msj 4.12.8
angular2-inline nat 0.0.17
color-highlight nau 2.3.0
vscode-html-scss P-d 0.0.42
material-icon-theme PKi 4.1.0
live-sass rit 3.0.0
LiveServer rit 5.6.1
html-preview-vscode tht 0.2.5
python tht 0.2.3
pdf tom 0.6.0
vscodeintellicode Vis 1.2.7
better-align wwm 1.1.6
JavaScriptSnippets xab 1.8.0
vscode-java-saber You 0.1.1

(4 theme extensions excluded)

here’s the error

Error: Import "tbd" could not be resolved.
    at File.load (D:\Projects\vscode-ext-color-highlight\node_modules\file-importer\index.js:130:1)
    at D:\Projects\vscode-ext-color-highlight\node_modules\file-importer\index.js:136:1
    at FSReqCallback.oncomplete (fs.js:165:21)

here’s screenshot Screenshot (12)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 16 (8 by maintainers)

Most upvoted comments

No I cannot reproduce this exit code, tried with sample code:

process.on('uncaughtException', function (err) {
    console.log(err.super());
});

process.on('unhandledRejection', function (err) {
    console.log(err.super());
});

setTimeout(async () => {
    // throw new Error();

    const p = new Promise((resolve, reject) => {
        reject(new Error("foo"));
    });

    await p;
}, 1000);