trailheadapps/ebikes-lwc

Error deploying to SDO

eltoroit opened this issue · 2 comments

Summary

Step 6 sf project deploy start -d force-app is not working. I get this error:

You seem to be missing the property favIconAssetRef in E-Bikes/config/mainAppPage.json with component ID: 591ae89d-97d7-4f5d-b93f-ce618e5d48f1

Salesforce Org Type

Production Org

Steps To Reproduce

I am installing this project in an SDO following the steps in the README.md file but the deployment (sf project deploy start -d force-app) is failing.

Current Behavior

I get this error:

You seem to be missing the property favIconAssetRef in E-Bikes/config/mainAppPage.json with component ID: 591ae89d-97d7-4f5d-b93f-ce618e5d48f1

Expected Behavior

No errors, and deployment succesful

Relevant Log Output

==========================================================================================================================================================================================================
| Type    Name                                 Problem                                                                                                                                         Line:Column 
| ─────── ──────────────────────────────────── ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ─────────── 
| Error   Default_E-Bikes                      Audience needs at least one criteria.                                                                                                                       
| Error   Default_Navigation                   In field: Network - no Network named E-Bikes found                                                                                                          
| Error   E-Bikes                              PicassoSite E_Bikes1 not found                                                                                                                              
| Error   E_Bikes                              In field: Name - no Network named E-Bikes found                                                                                                             
| Error   E_Bikes1                             You seem to be missing the property brandingSetType in E-Bikes/brandingSets/jepson.json with component ID: 26ab9e87-e30e-419f-b5b6-e054218fcee7             
| Error   SFDC_Default_Navigation_EUU002dBikes In field: Network - no Network named E-Bikes found                                                                                                          
| Error   cbE_Bikes                            Network not found for the CustomBrand : cbE_Bikes                                                                                                           
| Error   ebikes                               Permission Read Account depends on permission(s): Read Contact                                                                                              
| Warning ebikeslogo                           This record isn't in the target org: E-Bikes.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Thank you for posting this issue. 🙇🏼‍♂️
We will come back to you shortly.

Hi Andres, sorry but we don't support SDO for our sample apps because there are way too many metadata and custom settings in these orgs that can conflict with our setup. As per our doc we recommend using clean orgs (scratch org, DE org or a playground).

You're welcome to try the deployment but it's going to take several iterations. In your case I would make sure that Experience Cloud is enabled and look into access rights because this error sounds like the root cause:

Permission Read Account depends on permission(s): Read Contact