I'm currently attempting to migrate my existing production org to Salesforce DX. My production org has several managed packages that appear to be causing errors upon deploy to the scratch org.
One such managed package is the Slack managed package which causes this specific error : 'We couldn't retrieve the design time component information for component slack:postToSlack.' What is the process for migrating existing managed packages?
I created a Sandbox from Production and within the Sandbox I created an un-managed package containing all the metadata. I am able to retrieve the unmanaged package successfully through the metadata API.
I referenced this - https://developer.salesforce.com/blogs/developer-relations/2017/07/migrating-existing-projects-salesforce-dx.html
I also referenced - https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro_existing_app.htm
Below is a list of Slack specific errors:
force-app\main\default\flexipages\Account_Record_Page.flexipage-meta.xml : We couldn't retrieve the design time component information for component slack:postToSlack.
force-app\main\default\flexipages\Contact_Record_Page.flexipage-meta.xml : We couldn't retrieve the design time component information for component slack:postToSlack.
force-app\main\default\flexipages\Contact_Record_Page_Console.flexipage-meta.xml : We couldn't retrieve the design time component information for component slack:postToSlack.
force-app\main\default\flexipages\Lead_Record_Page_Console.flexipage-meta.xml : We couldn't retrieve the design time component information for component slack:postToSlack.