-
Notifications
You must be signed in to change notification settings - Fork 78
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
PATH not updated, original length 1286 > 1024 #1500
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hey @AllanOricil, have you faced this issue before? It sounds to me that your |
I actually added the sfdx binnary path into path without deleting any other entry. And this is why I thought this error message was weird. I don't think windows is limiting this update. |
I did a little bit more digging on this. It is a limitation of the NSIS installation system itself. Oclif is doing a check for It does look like NSIS has a special build that will allow for longer If this is a persistent problem for you, I would encourage you to audit your current |
Hi everyone, I'm passing for this error and my vs code not recognize my sfdx, how to resolve this error? Which path i gave to audit? |
I'm having this same issue and it's a blocker for us |
You have to edit the PATH env variable on your OS and remove some characters from it because it has a size limit. Just ask chatgpt "how to edit the PATH env variable on TYPE_OS_NAME ?" |
This is a problem, will make delete other variables, difficulting devlopers adoption. |
The installer could show a link where the User can learn how to fix the issue |
This is still an ongoing issue, 3 years later - nothing fixed... |
This issue could be mitigate but won't ever be fixed because there is no way to change the length of PATH https://superuser.com/questions/387619/overcoming-the-1024-character-limit-with-setx This issue is old and I don't think microsoft would ever change it Because it is an issue that very few people will face, and that can be fixed easily by the end user, by manually editing their PATH, it is not worthy spending engineering time automating a fix that won't ever really fix the root cause. The quickest, and cheapest, solution was making this github page indexed in Google so that these very few people could find it. You're welcome 😊 I usually open github issues with the error message so that it can help other people 😄 |
Summary
I tried to install sfdx using the .exe and this error happened. I had to manually add the env prop to my path.
The text was updated successfully, but these errors were encountered: