-
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
CLI commands do not properly stub ~/.sfdx
when missing during command execution on Mac; Windows/Linux are fine
#2222
Comments
Hello @SCWells72 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
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. |
~/.sfdx
when missing during command execution on Mac/Linux; Windows is fine~/.sfdx
when missing during command execution on Mac; Windows/Linux are fine
Note that it's important to delete/move both
While still an error, that's already logged elsewhere, e.g., #2209. |
CLI versions on the respective OSes: Windows:
Linux:
Mac:
|
Looks better to me after updating:
I'll ask the user to update and verify as well. I'm curious...was this already slated for the latest update, or did you squeeze it in at the last minute? |
The timing of the fix actually appears to be completely unrelated. The problem was coming from here. When the @mshanemc recently make some changes to aliases (PR) and that included a check to ensure the aliases file existed (and the Based on telemetry, we are also seeing some |
Ah, so the "fix" was actually just serendipity. Any idea why the original problem was unique to Mac and not present on Windows/Linux? And if I'm wandering too far into the weeds, feel free to say so. Just curious, but to some extent, a fix is a fix. |
This issue has been linked to a new work item: W-13602928 |
I am honestly not sure Scott, we have telemetry that is also showing errors for Linux and Windows on the |
Whoops, this should have been closed a while ago. I added a check to prevent this from becoming a regression later on. |
A Mac user reported an issue to me where, in IC2, things could go haywire if the
~/.sfdx
directory is missing when IC2 executesforce:org:list
(and potentially other commands). I was unable to reproduce that behavior...but evidently because I was trying to do so specifically on Windows, though Linux looks fine as well. Here's the behavior across various platforms:Mac M1 (fails):
Ubuntu Linux (works):
Windows (works):
I'm assuming that in all cases, the command should stub the
~/.sfdx
directory and not blow up like this, no?The text was updated successfully, but these errors were encountered: