b2c-crm-sync
b2c-crm-sync copied to clipboard
Getting Error in deploying this package into SFDC
Describe the bug While using the command: " npm run crm-sync:sf:org:deploy " I am getting this error With Error Status.
[
{
"stack": "TypeError: Cannot read property 'string' of undefined\n at /home/ranosys/Downloads/b2c-crm-sync/b2c-crm-sync/node_modules/@oclif/core/node_modules/cli-ux/lib/styled/table.js:285:34\n at Object.
Your local environment details:
- Node version (
node -v
): v15.2.1 - NPM version (
npm -v
): 7.0.8 - SFDX version (
sfdx -v
) sfdx-cli/7.120.0 linux-x64 node-v15.2.1
Additional context
I am trying to install this connector in an SFDC sandbox. I have updated the env file with B2C Commerce Configuration Properties and Salesforce Platform Configuration Properties.
Do I need any scratch org configuration as well in this case(Sandbox). And if yes then how I will do that?
I @Sourabh-Bhandari, Do you have resolved this problem ?
I have the same error when try to deploy on a Sandbox.
My env details:
- Node version : v15.2.1
- NPM version : 7.0.8
- SFDX version : sfdx-cli/7.114.0 win32-x64 node-v14.17.5
I @Sourabh-Bhandari, i bypass this error modifing the file "/home/ranosys/Downloads/b2c-crm-sync/b2c-crm-sync/node_modules/@oclif/core/lib/command.js". I changed the row 6 from "const cli_ux_1 = require("cli-ux");" to "const cli_ux_1 = require("../../../cli-ux");"
I had the same issue, the fix by @regist84 also resolved for me