trailheadapps/ebikes-lwc

Error deploying to Trailhead Playground org

eltoroit opened this issue ยท 3 comments

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

  1. Execute sfdx force:source:deploy -p force-app to deploy to a new Trailhead Playground
  2. 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

Welcome! ๐Ÿ‘‹

Thank you for posting this issue. ๐Ÿ™‡๐Ÿผโ€โ™‚๏ธ We will come back to you latest within the next 48h (working days). Stay tuned!

This can be fixed by deleting the Product__c field in the Trailhead org before deploying

Sorry, I did not read the Readme file. this has already been addressed.