You need to sign in to do that
Don't have an account?
Siri Deva Singh Khalsa
deploy:apex is not a sfdx command
Hi All,
I'm a bit new to this.
I'm coding a visualforce page using Visual Stuido Code and attempting to get it to deploy to my sandbox org.
I have authenticated the org and added
However when I try to save my constructor class I get the below error. I can't seem to find anyone else having this problem when I search the forums.
Does anyone have guidance?
I'm a bit new to this.
I'm coding a visualforce page using Visual Stuido Code and attempting to get it to deploy to my sandbox org.
I have authenticated the org and added
"salesforcedx-vscode-core.push-or-deploy-on-save.enabled": trueto my project settings.json file.
However when I try to save my constructor class I get the below error. I can't seem to find anyone else having this problem when I search the forums.
Does anyone have guidance?
Anudeep (Salesforce Developers)
I have seen such errors in the past. I uninstalled the VScode application and the issue has resolved itself after a fresh install. The error seems to be because of some settings or preferences that might be changed by mistake.
Rina Dahan
I got the same error "deploy apex is not a sfdx command" on any "Ctrl+s" (even automatic deploy was false) after I installed the VS plugin "SalesforceDX Code Companion", when disabling the plugin the error stopped appearing!