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

[Bug]: Can't install VS extension for TypeSpec using tsv: 'C:/Program' is not recognized as an internal or external command #3615

Open
4 tasks done
abatishchev opened this issue Jun 18, 2024 · 0 comments
Labels
bug Something isn't working ide Issues for VS, VSCode, Monaco, etc. triaged:core
Milestone

Comments

@abatishchev
Copy link
Contributor

Describe the bug

I'm trying to set up my new dev box, but running this command:

npx tsp vs install

fails with an error:

TypeSpec compiler v0.57.0
 
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
error: error: Command 'vswhere.exe -property instanceid -prerelease -version [17.0,)' failed with exit code

However running the underlying command directly works fine:

vswhere.exe -property instanceid -prerelease -version '[17.0,)'
a4616769

Reproduction

N/A

Checklist

@abatishchev abatishchev added the bug Something isn't working label Jun 18, 2024
@markcowl markcowl added the ide Issues for VS, VSCode, Monaco, etc. label Jun 18, 2024
@markcowl markcowl added this to the [2024] July milestone Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ide Issues for VS, VSCode, Monaco, etc. triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants