Clean Up Your DX Environment

If you need to return your DX configuration to its previous state after installing and configuring DX for Functions development, do the following:

  • If needed, re-install to previous versions of Salesforce CLI, Docker, node, etc.
  • Re-target your SFDX CLI targetusername and targetdevhubusername via force:config:set.
  • If needed, reset SFDX CLI to your previous API version, e.g. sfdx force config:set apiVersion=49.0