SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
64 stars 47 forks source link

SFDX : Deploy failed #17

Closed olegforce closed 3 years ago

olegforce commented 3 years ago

The following error was produced on the non-scratchOrg environment after executing the following CLI command: npm run crm-sync:sf:org:deploy

please note it's a different CC sandbox and CRM org to what was reported under -> https://github.com/SalesforceCommerceCloud/b2c-crm-sync/issues/14

[
  {
    "stack": "DeployFailed: Deploy failed.\n    at /Users/osapishchuk/IdeaProjects/b2c-crm-sync/node_modules/salesforce-alm/dist/lib/source/sourceApiCommand.js:71:31\n    at async SourceDeployCommand.execLegacyCommand (/Users/osapishchuk/IdeaProjects/b2c-crm-sync/node_modules/salesforce-alm/dist/ToolbeltCommand.js:149:29)\n    at async SourceDeployCommand.run (/Users/osapishchuk/IdeaProjects/b2c-crm-sync/node_modules/salesforce-alm/dist/commands/force/source/deploy.js:32:16)\n    at async SourceDeployCommand._run (/Users/osapishchuk/IdeaProjects/b2c-crm-sync/node_modules/@salesforce/command/lib/sfdxCommand.js:81:40)",
    "message": "Deploy failed.",
    "name": "DeployFailed",
    "actions": [
      "Check the order of your dependencies and ensure all metadata is included."
    ],
    "exitCode": 1,
    "columns": [
      {
        "key": "problemType",
        "label": "TYPE"
      },
      {
        "key": "filePath",
        "label": "PROJECT PATH"
      },
      {
        "key": "error",
        "label": "PROBLEM"
      }
    ],
    "data": [
      {
        "columnNumber": "0",
        "lineNumber": "0",
        "error": "The sharing calculation you requested can't be processed right now, because it interferes with another operation already in progress. Please try again later. (0:0)",
        "type": "",
        "filePath": "N/A",
        "problemType": "Error",
        "height": 1
      }
    ],
    "commandName": "SourceDeployCommand",
    "code": "Error"
  }
]
olegforce commented 3 years ago

image Did run command once again in 20 minutes without any changes and it worked.

jbachelet commented 3 years ago

As stated in the error log you got The sharing calculation you requested can't be processed right now, because it interferes with another operation already in progress. Please try again later., there was a calculation process in progress on your org making your deployment failing.

This has nothing directly related to b2c-crm-sync, hance is nothing we can do to fix this. Closing the ticket as you finally made it worked by waiting a bit and retried after a while.

Thanks.