Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sf project deploy start returns Error(1): Cannot read properties of undefined (reading 'validate') #2138

Closed
JeffArwady opened this issue May 15, 2023 · 4 comments
Labels
investigating We're actively investigating this issue

Comments

@JeffArwady
Copy link

Summary

When running "sf project deploy start --source-dir sf1/" I get the error in the title. I'm trying to deploy my entire package directory "sf1" to the target-org (set as the default) so not listed in my command.

Please help.

@JeffArwady JeffArwady added the investigating We're actively investigating this issue label May 15, 2023
@github-actions
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@JeffArwady
Copy link
Author

Update - when running sf project deploy validate --source-dir sf1
I get this error:

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

Thinking that might be the real error message? Please advise.

@JeffArwady
Copy link
Author

RESOLVED - I uninstalled and reinstalled the cli software on my Windows PC and it fixed my issue. I had previously updated to the latest by installing the latest software. In the future I will both uninstall and reinstall sfdx cli when performing updates. NOTE: I'm behind a firewall so sfdx update will not work for me.

@mshanemc
Copy link
Contributor

@JeffArwady good to know. Thanks for posting the RESOLVED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue
Projects
None yet
Development

No branches or pull requests

2 participants