Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis build fails due to depreciated settings in the project-scratch-de.json #129

Open
djiwondee opened this issue Nov 28, 2019 · 0 comments

Comments

@djiwondee
Copy link

Found this issue while running the trailhead this repository is used for. The ./config/project-scratch-de.json-file contains setting that are depreciated in sfdx. As recommended in the log (which can be found in the Travis CI build section), the parameter orgPreferences:

{
    "orgName": "wade.wegner Example",
    "edition": "Developer",
    "orgPreferences" : {
        "enabled": ["S1DesktopEnabled"]
    }
}

must be changed with settings according to the following:

{
    "orgName": "wade.wegner Example",
    "edition": "Developer",
    "settings": {
        "lightningExperienceSettings": {
           "enableS1DesktopEnabled": true
        }
    }
}

Have seen the warning about the depreciated parameter for scratch org configs in the interactive exercises within the SFDX trailhead lessons already, but the build on travis-ci probably handles the parameter more restricted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant