-
Notifications
You must be signed in to change notification settings - Fork 78
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
Cannot read property 'addChild' of undefined #1261
Comments
Hi @abhishekdepro, can you please try upgrading to the |
Hi @WillieRuemmele , yes upgraded and same issue still remains. |
Can you please provide the following information
|
Sure @WillieRuemmele. CLI Version : Architecture: Node Version : Plugin Version: OS and Version: Stack trace: ERROR running force:source:retrieve: Cannot read property 'addChild' of undefined TypeError: Cannot read property 'addChild' of undefined Steps to reproduce: Sorry cannot share the repo as I'm working on my client's project. |
From your stack trace, it looks like the xml parser library we're using |
Thanks @WillieRuemmele ! Worked like a charm. There was a problem with the closing tag in custom labels which caused the issue. However, it'd be great if the CLI can throw us the actual file parsing exception or on which xml file the exception occurred. |
This issue has been linked to a new work item: W-10119453 |
I agree, I've created that bug and we'll be adding that in the future. Thank you again 🎉 |
The fix is in the latest CLI release just published. sfdx version 7.133.0 |
Thanks so much! Appreciate all the great work the SFDX team is doing. |
Whenever we try to retrieve any component from Org Browser or through sfdx:retrieve the following error occurs. This started just last week:
Starting SFDX: Retrieve Source from Org
Cannot read property 'addChild' of undefined
CLI version: sfdx-cli/7.115.1 win32-x64 node-v14.17.5
The text was updated successfully, but these errors were encountered: