trailheadapps / dreamhouse-lwc

Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Real estate use case. Get inspired and learn best practices.
https://developer.salesforce.com
Apache License 2.0
391 stars 779 forks source link

Instructions for setup hit a deployment error #454

Closed daniel-dara closed 2 years ago

daniel-dara commented 2 years ago

Summary

If you follow the instructions from the readme here, step 5 (pushing the app) produces the following deployment errors.

Note that this is also a blocker for completing the Set Up the Project on Your Local Machine trailhead module.


*** Pushing with SOAP API v55.0 ***
DEPLOY PROGRESS | ████████████████████████████████████████ | 18/18 Components

=== Component Failures [51]

 Type  Name                Problem
 ───── ─────────────────── ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Error auraPropertyListMap Invalid definition for PropertyController: ApexService.getType() return null with currentNamespace: c, namespace: null, name: PropertyControllerresource leaflet cannot be found in namespace .
 Error asdf                duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error asdf                duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error asdf                duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error barcodeScanner      duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error barcodeScanner      duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error barcodeScanner      duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error brokerCard          duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error brokerCard          duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error brokerCard          duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error daysOnMarket        duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error daysOnMarket        duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error daysOnMarket        duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error errorPanel          duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error errorPanel          duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error errorPanel          duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error ldsUtils            duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error ldsUtils            duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error ldsUtils            duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error navigateToRecord    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error navigateToRecord    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error navigateToRecord    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error paginator           duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error paginator           duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error paginator           duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyCarousel    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyCarousel    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyCarousel    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyCarousel    Unable to find Apex action class referenced as 'PropertyController'.
 Error propertyFilter      duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyFilter      duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyFilter      duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyLocation    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyLocation    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyLocation    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyMap         duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyMap         duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyMap         duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertySummary     duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertySummary     duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertySummary     duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyTile        duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyTile        duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyTile        duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyTileList    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyTileList    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error propertyTileList    duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error sampleDataImporter  duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error sampleDataImporter  duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error sampleDataImporter  duplicate value found: <unknown> duplicates value on record with id: <unknown>
 Error my_sfdx_project     Cannot find Lightning Component Bundle my_sfdx_project.

ERROR running force:source:push:  Push failed.```

### Salesforce Org Type

Scratch Org

### Steps To Reproduce

_No response_

### Current Behavior

_No response_

### Expected Behavior

_No response_

### Relevant Log Output

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
github-actions[bot] commented 2 years ago

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

albarivas commented 2 years ago

Hello, I cloned the repo, pushed following the instructions, and everything worked correctly. Make sure to clone a clean copy of the repo and try again. Thank you.