I've installed the latest CLI versions for SFDX and SF, but still when I try to create a scratch org with mentioned commands. I'm getting the below error:
ERROR running force:org:create: Functions is not a valid Features value.
My Project-scratch-def.json file >>>
{
"orgName": "Functions Recipes",
"edition": "Developer",
"features": ["Functions", "EnableSetPasswordInApi"],
"settings": {
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": false
}
}
}
Also, SFDX and SF version >>> sfdx-cli/7.174.0 darwin-x64 node-v16.17.1 @salesforce/cli/1.51.0 darwin-x64 node-v16.17.1
I've also verified that the plugin is installed.
Please help if anyone has faced something similar and resolved it. Thanks!