Skip to content

ENOENT Error Running Tests with VSCode 1.85.1 #251

@znorman-harris

Description

@znorman-harris

I tried to run my integration tests today and, after the test runner downloaded the latest version of VSCode, I get this error when it tries to launch VSCode and run my tests:

Downloading VS Code 1.85.1 from https://update.code.visualstudio.com/1.85.1/win32-x64-archive/stable
Downloading VS Code [==============================] 100%
Downloaded VS Code into C:\Users\znorman\Documents\node\vscode-idl-true\.vscode-test\vscode-win32-x64-archive-1.85.1

Downloaded VS Code into C:\Users\znorman\Documents\node\vscode-idl-true\.vscode-test\vscode-win32-x64-archive-1.85.1
Test error: Error: spawn C:\Users\znorman\Documents\node\vscode-idl-true\.vscode-test\vscode-win32-x64-archive-1.85.1\Code.exe ENOENT
Exit code:   -4058

When I hard-code the VSCode version to 1.85.0 it works just fine, starts VSCode, and runs my tests.

I'm using Windows 11 and am using 2.3.8 of @vscode/test-electron.

Happy to provide anything else to help track down what's going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions