trailheadapps / az-insurance

Sample app that demonstrates how to build customer/partner/marketing experiences for Salesforce Experience Cloud and Lightning Web Runtime.
Creative Commons Zero v1.0 Universal
113 stars 100 forks source link

unable to deploy in to scratch org #32

Closed kristualdandamudi closed 3 years ago

kristualdandamudi commented 3 years ago

getting below error : Unexpected file found in package directory: C:\Users\myd\Documents\TDX\az-insurance\force-app\main\default\managedContentTypes\cms_actionimage.managedContentType-meta.xml when i ran below command: sfdx force:source:deploy -m ApexClass,Layout,CustomObject,LightningComponentBundle,ManagedContentType,CustomObject,StaticResource,CustomTab,PermissionSet,Flow

getting same error when i tried convert sfdx source to mdapi (sfdx force:source:convert -d mdapi-source)

please help me if any work around there?

Thanks in advance.

github-actions[bot] commented 3 years ago

Welcome! 👋

Thank you for posting this issue. 🙇🏼‍♂️ We will come back to you latest within the next 48h (working days). Stay tuned!

github-actions[bot] commented 3 years ago

Flagging this as stale, as there was no recent activity within the last 14 days. 🧐

muenzpraeger commented 3 years ago

If you receive "unexpected file" messages that is usually an indication for that your CLI is not up-to-date.

github-actions[bot] commented 3 years ago

Flagging this as stale, as there was no recent activity within the last 14 days. 🧐

muenzpraeger commented 3 years ago

@kristualdandamudi Is this issue still existent? Otherwise I'd close the issue. Thanks!

kristualdandamudi commented 3 years ago

@kristualdandamudi Is this issue still existent? Otherwise I'd close the issue. Thanks!

yes , Issue is resolved, i am able to deploy successfully after i re install my sfdx CLI. Problem is my sfdx metadatatypeinfo file messed up Thank you @muenzpraeger

muenzpraeger commented 3 years ago

Great to hear - thanks @kristualdandamudi. I'll close the issue then.