-
Notifications
You must be signed in to change notification settings - Fork 24
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
Windows: espup should display error when Path is reaching too long #270
Comments
I tried to reproduce this error but couldn't, did you encounter this error with version
I think @9names also tried to use a "very long path" with no issues. @9names, do you recall if it was longer than 2047 characters? |
I think @georgik isn't saying that @georgik: how are you trying to update your path after |
Do you think that the following warning message: |
I recommend requesting user consent at this point or hard-stop the installation with a hint for parameters to override the warning. |
Oh, this has the potential of breaking VSCode terminal. I was wondering why I could no longer use So, user programs may have issues with using very long path variables. VSCode has such issues, while Windows Terminal doesn't. |
Did you install the environment several times? |
Yes, I did. That it duplicated its PATH entries is a separate issue, but the end result is the same: I ended up with an unworkably long PATH. |
Bug description
espup install
updates Path variable, but does not display any warning about reaching limit 2047 characters which is limit on Windows.Reaching such value makes it impossible to update the variable by user.
The text was updated successfully, but these errors were encountered: