I'm trying to
push my code into a
scratch org using
SFDX. I keep getting errors which don't make sense -- many of them are saying how a variable doesn't exist and I scan the class to see the variable declaration and scoping is correct for it to be accessible. Many errors about
custom objects too.
These are the steps I followed:
1. Pull current code from git repo 2. Create SFDX project and set up source org 3. Create assets/package.xml to retrieve data using the following cmd: sfdx force:source:retrieve --manifest assets/package.xml 4. Created a scratch org and tried pushing code into scratch org
On the push, I received various
variable doesn't exist and
custom object errors. What am I missing?