Running the sfdx command:
sf commerce:store:create -n b2bStore01 -o b2b -b b2bstore01@gmail.com -f ./config/b2b-store-scratch-def.json -u b2b_aug_14 -v devhub
failing after 'quickstart step 5' -
failing in the contactPointAndDeploy() function, specifically while deploying the sharing rules/experience-bundle zip
Also, I tried running through 'develop' branch source code and faced the same error
error:
unable to capture full error as it's a long string getting trimmed in the terminal.
{ "fullName": "WorkPlanSelectionRule", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkPlanSelectionRule.sharingRules" }, { "fullName": "WorkPlanTemplate", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkPlanTemplate.sharingRules" }, { "fullName": "WorkStepTemplate", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkStepTemplate.sharingRules" }, { "fullName": "WorkThanks", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkThanks.sharingRules" }, { "fullName": "WorkType", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkType.sharingRules" }, { "fullName": "WorkTypeGroup", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkTypeGroup.sharingRules" } ] }, "warnings": [], "command": "sf project deploy start -o \"b2b_aug_14@ava.demo\" -g --metadata-dir='/Users/hitesh.godha@avalara.com/.commerce/devhubs/avalaraincATisveditionDOTorg/b2b_aug_14ATavaDOTdemo/b2bStore01/experience-bundle-package/b2bStore011ToDeploy.zip' -w 60 --verbose --single-package --api-version=61.0 --json" }
sf -v:
@salesforce/cli/2.45.6 darwin-arm64 node-v20.14.0
sf plugins:
`@salesforce/commerce 252.0.0
@salesforce/sfdx-scanner 4.2.0 (latest-beta)
community 3.2.18
sfdmu 4.33.17
shane-sfdx-plugins 4.43.0
├─ @mshanemc/plugin-streaming 1.1.7
└─ @mshanemc/sfdx-sosl 1.1.0
signups 2.3.12 (2.3.12)
Uninstalled JIT Plugins:
custom-metadata 3.3.11
dev 2.3.1
devops-center 1.2.13
env 3.0.30
functions 1.23.0
@salesforce/sfdx-plugin-lwc-test 1.2.0`
Initial Setup
Created the scratch org using the command:
sf org create scratch -f ./config/project-scratch-def.json -a b2b_aug_14
project-scratch-def.json file contents (copied from example json):
{ "orgName": "AvaTax B2B Lex", "country": "us", "language": "en_US", "edition": "Developer", "features": ["Communities","B2BCommerce","B2BAuraTemplateEnabled","OrderManagement","EnableSetPasswordInApi","Multicurrency","CommerceConsoleAppEnabled","OrderSaveLogicEnabled"], "username": "b2b_aug_14@ava.demo", "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "experienceBundleSettings": { "enableExperienceBundleMetadata": true }, "communitiesSettings": { "enableNetworksEnabled": true }, "orderManagementSettings": { "enableOrderManagement": true }, "orderSettings": { "enableOrders": true, "enableEnhancedCommerceOrders": true, "enableOptionalPricebook": true }, "commerceSettings": { "commerceEnabled": true }, "addressSettings": { "countriesAndStates": true } } }
Running the sfdx command:
sf commerce:store:create -n b2bStore01 -o b2b -b b2bstore01@gmail.com -f ./config/b2b-store-scratch-def.json -u b2b_aug_14 -v devhubfailing after 'quickstart step 5' -
failing in the contactPointAndDeploy() function, specifically while deploying the sharing rules/experience-bundle zip
Also, I tried running through 'develop' branch source code and faced the same error
error:
unable to capture full error as it's a long string getting trimmed in the terminal.
{ "fullName": "WorkPlanSelectionRule", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkPlanSelectionRule.sharingRules" }, { "fullName": "WorkPlanTemplate", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkPlanTemplate.sharingRules" }, { "fullName": "WorkStepTemplate", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkStepTemplate.sharingRules" }, { "fullName": "WorkThanks", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkThanks.sharingRules" }, { "fullName": "WorkType", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkType.sharingRules" }, { "fullName": "WorkTypeGroup", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkTypeGroup.sharingRules" } ] }, "warnings": [], "command": "sf project deploy start -o \"b2b_aug_14@ava.demo\" -g --metadata-dir='/Users/hitesh.godha@avalara.com/.commerce/devhubs/avalaraincATisveditionDOTorg/b2b_aug_14ATavaDOTdemo/b2bStore01/experience-bundle-package/b2bStore011ToDeploy.zip' -w 60 --verbose --single-package --api-version=61.0 --json" }sf -v:
@salesforce/cli/2.45.6 darwin-arm64 node-v20.14.0sf plugins:
`@salesforce/commerce 252.0.0
@salesforce/sfdx-scanner 4.2.0 (latest-beta)
community 3.2.18
sfdmu 4.33.17
shane-sfdx-plugins 4.43.0
├─ @mshanemc/plugin-streaming 1.1.7
└─ @mshanemc/sfdx-sosl 1.1.0
signups 2.3.12 (2.3.12)
Uninstalled JIT Plugins:
custom-metadata 3.3.11
dev 2.3.1
devops-center 1.2.13
env 3.0.30
functions 1.23.0
@salesforce/sfdx-plugin-lwc-test 1.2.0`
Initial Setup
Created the scratch org using the command:
sf org create scratch -f ./config/project-scratch-def.json -a b2b_aug_14project-scratch-def.json file contents (copied from example json):
{ "orgName": "AvaTax B2B Lex", "country": "us", "language": "en_US", "edition": "Developer", "features": ["Communities","B2BCommerce","B2BAuraTemplateEnabled","OrderManagement","EnableSetPasswordInApi","Multicurrency","CommerceConsoleAppEnabled","OrderSaveLogicEnabled"], "username": "b2b_aug_14@ava.demo", "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "experienceBundleSettings": { "enableExperienceBundleMetadata": true }, "communitiesSettings": { "enableNetworksEnabled": true }, "orderManagementSettings": { "enableOrderManagement": true }, "orderSettings": { "enableOrders": true, "enableEnhancedCommerceOrders": true, "enableOptionalPricebook": true }, "commerceSettings": { "commerceEnabled": true }, "addressSettings": { "countriesAndStates": true } } }