Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote-ssh use launch.json to start npm script failed #136838

Closed
taikulawo opened this issue Nov 10, 2021 · 3 comments
Closed

remote-ssh use launch.json to start npm script failed #136838

taikulawo opened this issue Nov 10, 2021 · 3 comments
Assignees

Comments

@taikulawo
Copy link

taikulawo commented Nov 10, 2021

Does this issue occur when all extensions are disabled?: Yes!

  • VS Code Version:
Version: 1.62.1 (Universal)
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-05T09:23:14.144Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0
  • OS Version:
    OSX Big sur 11.5.2
    Steps to Reproduce:
  1. clone https://github.com/iamwwc/vscode-remote-ssh-launch-bug and open it in remote-ssh environment
  2. click run -> start debugging

debug tip will show but disappear quickly. I have tested in v1.61, it works. But today I updated to v1.62.1, it failed.
I have disable all extensions except remote-ssh which is necessary for remote development

Screen.Recording.2021-11-10.at.16.18.44.mov
@jbelford
Copy link

jbelford commented Nov 10, 2021

I started getting this too. Set log level to trace and see this

[2021-11-10 12:45:06.736] [renderer1] [trace] KeybindingService#dispatch F5 workbench.action.debug.start
[2021-11-10 12:45:06.736] [renderer1] [trace] CommandService#executeCommand workbench.action.debug.start
[2021-11-10 12:45:06.743] [renderer1] [trace] [text file model] save() - enter vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.745] [renderer1] [trace] [text file model] doSave(0) - enter with versionId 0 vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.746] [renderer1] [trace] [text file model] doSave(0) - exit - because not dirty and/or versionId is different (this.isDirty: false, this.versionId: 0) vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.747] [renderer1] [trace] [text file model] save() - exit vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/src/framework/client.ts
[2021-11-10 12:45:06.753] [renderer1] [trace] Error while resolving configuration file 'vscode-userdata:/c%3A/Users/Jack/AppData/Roaming/Code/User/tasks.json': Unable to read file 'vscode-userdata:/c:/Users/Jack/AppData/Roaming/Code/User/tasks.json' (Error: Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/Jack/AppData/Roaming/Code/User/tasks.json')
[2021-11-10 12:45:06.808] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/settings.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json')
[2021-11-10 12:45:06.808] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/tasks.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json')
[2021-11-10 12:45:06.813] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/settings.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/settings.json')
[2021-11-10 12:45:06.813] [renderer1] [trace] Error while resolving configuration file 'vscode-remote://wsl%2Bubuntu-18.04/home/jack/Eolian/.vscode/tasks.json': Unable to read file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-18.04/home/jack/Eolian/.vscode/tasks.json')
[2021-11-10 12:45:06.825] [renderer1] [trace] onWillActivateByEvent:  onDebugResolve
[2021-11-10 12:45:06.826] [renderer1] [trace] onWillActivateByEvent:  onDebugResolve:pwa-node

I only have a launch.json in my project.

@jbelford
Copy link

Reverting to 1.62.0 fixes my problem for now #136873 (comment)

@taikulawo
Copy link
Author

v1.62.2 has fixed it!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants