-
Notifications
You must be signed in to change notification settings - Fork 409
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
Error: exports.getOrgApiVersion is not a function #4938
Comments
Downgraded the version to
Observation: The Extension started working again and I was able to deploy the metadata. So this certainly validates that it was the recent release that has caused this issue. |
I'm having this issue as well. Had to downgrade the Salesforce Extension Pack and the Salesforce CLI Integrations to v58.2.0 to get my retrieves and deploys to work again |
Downgraded, same issue -- it will still work via command cli e.g. |
@Deepak-K-Anand thanks for reporting this! We looked into the issue and we will be publishing a patch release in a few hours. |
@Deepak-K-Anand thanks agin for reporting this issue. We've built and published a hotfix which resolved and fixes the issue. I'm going to close this ticket. If you encounter any other issues, please let us know. |
Summary
Unable to deploy code after the recent extension update (58.3.0 - June 21, 2023). Error:
exports.getOrgApiVersion is not a function
Steps To Reproduce:
Expected result
The metadata should be deployed to the Salesforce org.
Actual result
Presented with an error in the console that says:
exports.getOrgApiVersion is not a function
Additional information
Observation: This most likely started appearing after the recent release of 58.3.0 - #4917
Salesforce Extension Version in VS Code:
v58.3.0
SFDX CLI Version:
OS and version:
The text was updated successfully, but these errors were encountered: