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

code command's wait (-w, --wait) is crashing since ~1.95.2 #233409

Open
itsthejb opened this issue Nov 8, 2024 · 0 comments
Open

code command's wait (-w, --wait) is crashing since ~1.95.2 #233409

itsthejb opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
new release Issues found in a recent release of VS Code triage-needed

Comments

@itsthejb
Copy link

itsthejb commented Nov 8, 2024

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

  • VS Code Version: 1.95.2 e8653663e8840adaf45af01eab5c627a5af81807 arm64
  • OS Version: macOS 15.1 (24B83)

Steps to Reproduce:

The command-line code's wait flag (-w --wait) is failing since around 1.95.2

  1. touch test.txt && code -w test.txt
  2. Crashes with:
node:internal/errors:541
      throw error;
      ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
    at Module.access (node:fs:229:10)
    at t.access (node:electron/js2c/node_init:2:7532)
    at Timeout._onTimeout (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/cli.js:29:95356)
    at listOnTimeout (node:internal/timers:581:17)
    at process.processTimers (node:internal/timers:519:7) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v20.18.0
@vs-code-engineering vs-code-engineering bot added new release Issues found in a recent release of VS Code triage-needed labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new release Issues found in a recent release of VS Code triage-needed
Projects
None yet
Development

No branches or pull requests

2 participants