Step "Deploy the b2c-crm-sync Application Code to Your Salesforce Org" Failing #144
Replies: 1 comment
-
On trying to deploy manually using command: sfdx force:source:deploy -p src/sfdc/base I get following error *** Deploying v52.0 metadata with SOAP API v53.0 connection *** === Component Failures [4] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am at step 14 i.e. "Deploy the b2c-crm-sync Application Code to Your Salesforce Org".
I am giving command: npm run crm-sync:sf:org:deploy
Its resulting in error:
-- deploying the base meta-data to the specified Salesforce Org; please standby
,----------------------------------------------------------------------.
| |
| |
| 88888888888 88 |
| 88 88 |
| 88 88 |
| 88aaaaa 8b,dPPYba, 8b,dPPYba, ,adPPYba, 8b,dPPYba, 88 |
| 88""""" 88P' "Y8 88P' "Y8 a8" "8a 88P' "Y8 88 |
| 88 88 88 8b d8 88 "" |
| 88 88 88 "8a, ,a8" 88 aa |
| 88888888888 88 88
"YbbdP"' 88 88 | | | | | | Oh no! Not one of these :( | | | | It looks like you've run into an error or exception. | | Please log an issue via | | https://github.com/SalesforceCommerceCloud/b2c-crm-sync/issues. | | That's the best way to engage us. Thank you for your support! | | |
----------------------------------------------------------------------'[
{
"stack": "DeployFailed: Deploy failed.\n at DeployResultFormatter.display (/Users/ashmahaj/Downloads/b2c-crm-sync-master/node_modules/@salesforce/plugin-source/lib/formatters/deployResultFormatter.js:62:19)\n at Deploy.formatResult (/Users/ashmahaj/Downloads/b2c-crm-sync-master/node_modules/@salesforce/plugin-source/lib/commands/force/source/deploy.js:102:23)\n at Deploy.run (/Users/ashmahaj/Downloads/b2c-crm-sync-master/node_modules/@salesforce/plugin-source/lib/commands/force/source/deploy.js:32:21)\n at processTicksAndRejections (node:internal/process/task_queues:93:5)\n at async Deploy._run (/Users/ashmahaj/Downloads/b2c-crm-sync-master/node_modules/@salesforce/command/lib/sfdxCommand.js:81:40)",
"message": "Deploy failed.",
"name": "DeployFailed",
"exitCode": 1,
"commandName": "Deploy",
"code": "Error"
}
]
CRM-SYNC | v0.9.0 | crm-sync:sf:deploy: END
What could be wrong? Please help. I am not able to move ahead.
On checking sfdx.log, I found following error log:
{"name":"sfdx","hostname":"WKMIN9447721","pid":76185,"log":"SfdxProjectJson","level":40,"msg":"The config file: /Users/ashmahaj/.sfdx/sfdx-project.json is not schema valid\nDue to: Validation errors:\nshould have required property 'packageDirectories'","time":"2022-03-26T15:25:52.581Z","v":0}
I observed that it was looking for file sfdx-project.json from .sfdx folder and not from the project folder where I am running the command from. To overcome this, I copied the sfdx-project.json to .sfdx folder and ran "npm run crm-sync:sf:org:deploy" again. Command failed again but the error in the log was different now as:
"name":"sfdx","hostname":"WKMIN9447721","pid":79571,"log":"MetadataApiDeploy","level":50,"errno":-60,"code":"ETIMEDOUT","syscall":"connect","address":"13.110.56.158","port":443,"msg":"","time":"2022-03-27T06:36:33.537Z","v":0}
13.110.56.158 is the ip address of my domain entered in .env file for SF_LOGINUR =spde12-dev-ed.my.salesforce.com
What could be wrong as I can access the IP or domain in my browser fine?
Beta Was this translation helpful? Give feedback.
All reactions