Skip to content

PackDeploy unable to compile Flexcard #746

@mohamedaminem5

Description

@mohamedaminem5

Hello all,

While trying to migrate my omnicomponents from one org to another via Vlocity packDeploy command, I encounter the following error:

Loading @omnistudio/flexcard-compiler@latest
Compiling Flexcard with FlexCard ID: >> 0m0koak0000002rMnAAI
TypeError: cards.forEach is not a function.

I am building one flexcard, one omniscript, one integration procedure, and three data raptors. I have followed all the steps in terms of installation for vlocity. The following are the versions of the corresponding tools:

  • node-v: v20.6.1

  • sf version: @salesforce/cli/2.105.6 win32-x64 node-v20.6.1

  • vlocity version: Vlocity Build v1.17.15

    Below is the deploy.yaml file content:

projectPath: ./src-data-packs
npmAuthKey: key
useSfdxCli: true
keepOSActiveWhenLWCDeploymentFails: true

What is it that I am missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions