Thanks Ajay for quick reply. Is there a way to figure out which file is throwing this error? I am simply trying to create a scratch org from VS Code Terminal and my project-scratch-def.json looks like below. Is there any other file which are involved in this step? {
Seems you are avoiding null checks in your code. Try using
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com
{