-
Notifications
You must be signed in to change notification settings - Fork 405
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
VSCode doesn't see my sfdx project #1038
Comments
@ntotten @muenzpraeger When I uninstalled/reinstalled VSCode, I just dumped the app in the trash because there's no Uninstall command I could find in VSCode. I also trashed the .vscode folder with the extensions. However, after reinstall, as soon as I opened the app, it opened to the project I had most previously opened. That makes me think there's a vscode prefs file somewhere, but I can't find it. UPDATE -- just found this thread with instructions on a full uninstall: https://apple.stackexchange.com/questions/225055/app-files-on-mac-os-x-visual-studio-code /Applications/Visual Studio Code.app THAT WORKED! I'm back in business. |
I am reopening this to investigate. It seems like maybe there is a bug. The resolution shouldn't be to have to delete all of VS Code and all cache files and start over. :) |
Let me know if you need anything from me to help debug. Not sure what would be left on my machine... |
@ntotten Any update on this? It has happened to me again. |
I went through the FULL uninstall/reinstall and it's working again. That's really a pain. I've kept all the files I trashed, in case they will help in debugging this. |
Now the SFDX commands show up in the VSCode command palette, and the browser icon appears in the footer and will open my default scratch org, but... when I try to push I'm getting an error: Project Path Error "Unknown" I can run a status command and it sees the project path (see screenshot), just can't find it when it's time to push. This feels like a new problem, so I'm going to start a new issue for it. |
@patmcclellan |
I have a VSCode/sfdx breakdown and don’t know how to resolve. CLI still works, but VSCode command palette doesn’t seem to recognize that I have an sfdx project open. Only provides commands for Creating a project (3 variations) and Set a Default Org.
I've uninstalled the Salesforce Extension Pack, uninstalled VSCode, manually deleted the .vscode folder from my Mac, reinstalled VSCode, reinstalled the Salesforce Extension Pack, updated sfdx. Created a pristine new sfdx project. No other extensions or changed to default user settings.
The problem persists.
This all worked fine for me last week, till late in the day Friday when I tried pushing an lwc to my scratch org and it timed out, tried again, timed out. So I quit VSCode and restarted my Mac. Then the push to scratch org command had disappeared -- only the Create Project options and Set a Default Org in the command palette.
This situation applies to all my projects, not just the one I was working on when I did the restart. It's not a project-level corruption.
CLI commands still work.
The text was updated successfully, but these errors were encountered: