Error deploying to Trailhead Playground org
eltoroit opened this issue ยท 3 comments
eltoroit commented
Summary
I am following the instructions to deploy the metadata to a newly created Trayhead Playground and when I execute sfdx force:source:deploy -p force-app
I get this error:
Error Case.Product__c Cannot update a field to a Lookup, MasterDetail, or Hierarchy from something else (44:13)
Salesforce Org Type
Trailhead Playground
Steps To Reproduce
- Execute
sfdx force:source:deploy -p force-app
to deploy to a new Trailhead Playground - You will get this error:
Type | Name | Problem |
---|---|---|
Error | Case.Product__c | Cannot update a field to a Lookup, MasterDetail, or Hierarchy from something else (44:13) |
Current Behavior
Can't deploy due to error
Type | Name | Problem |
---|---|---|
Error | Case.Product__c | Cannot update a field to a Lookup, MasterDetail, or Hierarchy from something else (44:13) |
Expected Behavior
Able to deploy without error
Relevant Log Output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
github-actions commented
Welcome! ๐
Thank you for posting this issue. ๐๐ผโโ๏ธ We will come back to you latest within the next 48h (working days). Stay tuned!
eltoroit commented
This can be fixed by deleting the Product__c field in the Trailhead org before deploying
eltoroit commented
Sorry, I did not read the Readme file. this has already been addressed.