wadewegner / deploy-to-sfdx

An open-source and community-driven tool for one-click Salesforce DX deployments from public repositories to Scratch Orgs
https://deploy-to-sfdx.com
Apache License 2.0
98 stars 22 forks source link

GUID: e462ddd5-1a08-1aef-28fb-7ac33248afad ERROR running force:org:create: We've deprecated OrgPreferences #54

Open conductorsha opened 4 years ago

conductorsha commented 4 years ago

Hello! I'm trying to deploy the Enstein package on trial 30 day Dev Hub org(https://github.com/muenzpraeger/salesforce-einstein-platform-apex). And receiving the following error:

GUID: e462ddd5-1a08-1aef-28fb-7ac33248afad ERROR running force:org:create: We've deprecated OrgPreferences. Update the scratch org definition file to replace OrgPreferences with their corresponding settings. Replace the orgPreferences section: { "orgPreferences": { "enabled": [ "S1DesktopEnabled" ], "disabled": [ "S1EncryptedStoragePref2" ] } } With their updated settings: { "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "mobileSettings": { "enableS1EncryptedStoragePref2": false } } } For more info on configuring settings in a scratch org definition file see: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm.'

4) GUID: e462ddd5-1a08-1aef-28fb-7ac33248afad ERROR running force:org:create: We've deprecated OrgPreferences. Update the scratch org definition file to replace OrgPreferences with their corresponding settings. Replace the orgPreferences section: { "orgPreferences": { "enabled": [ "S1DesktopEnabled" ], "disabled": [ "S1EncryptedStoragePref2" ] } } With their updated settings: { "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "mobileSettings": { "enableS1EncryptedStoragePref2": false } } } For more info on configuring settings in a scratch org definition file see: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm.' 3) Set instance url to https://amazing-appy-314566.my.salesforce.com. 2) Successfully cloned https://github.com/muenzpraeger/salesforce-einstein-platform-apex. 1) Using .salesforcedx.yaml found in repository.

Any clues?