Error(1): component conversion failed: fast_xml_parser_1.XMLBuilder is not a constructor

Erorr(1): component conversion failed: fast_xml_parser_1.XMLBuilder is not a constructor.

Jenkins job using SFDx Cli for deployment purpose. but it is getting fail on the same validation or check-only stage.

Earlier jobs were getting successfully completed.

I have tried to bring on SFDx stable version. Installed fast_xml_parser using npm command. but no luck.

I assume that “SFDx Cli” is a reference to the salesforce.com command line interface. I think that you’ll need to contact their support organization for help with their command line interface.

I have tried below steps and it worked.

  1. Uninstalled current SFDX from Jenkins server
  2. Download latest SFDx and install.
  3. Jenkins will start working as expected.