commerce-on-lightning icon indicating copy to clipboard operation
commerce-on-lightning copied to clipboard

Error with contactPointAndDeploy() (Sharing Setting Deployment), After QuickStart Step 5,

Open avaHitesh-github opened this issue 1 year ago • 0 comments
trafficstars

Running the sfdx command:

sf commerce:store:create -n b2bStore01 -o b2b -b [email protected] -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 \"[email protected]\" -g --metadata-dir='/Users/[email protected]/.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": "[email protected]", "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 } } }

avaHitesh-github avatar Aug 14 '24 09:08 avaHitesh-github