apex-enterprise-patterns / fflib-apex-common

Common Apex Library supporting Apex Enterprise Patterns and much more!
BSD 3-Clause "New" or "Revised" License
899 stars 514 forks source link

Unable to Deploy - Unhandled Exception : java.lang.RuntimeException #433

Closed diegomedrado closed 1 year ago

diegomedrado commented 1 year ago

Describe the bug Unable to deploy to salesforce org (both apex mocks and fflib). Error shown : Unhandled Exception : java.lang.RuntimeException: /app/.local/share/sfdx/client/7.177.1-617a284/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /app/.local/share/sfdx/client/7.177.1-617a284/bin/node)

To Reproduce

Create an org, try to deploy using the button in git hub.

Expected behavior Deploy button should appear

Screenshots and text of error observed image

Version Did you try to reproduce the problem against the latest fflib-apex-common code? Yes

ImJohnMDaniel commented 1 year ago

G'day folks. It's confirmed that this is an issue with the GitHubSFDeploy tool and not the Apex Commons project. While the usage of the GitHubSFDeploy tool is an added convenience, it is not supported by the Apex Enterprise Patterns Open Source team. As an alternative, consider using the Salesforce CLI as a way to deploy the Apex Commons codebase.

The open issue on the GitHubSFDeploy to follow is afawcett/githubsfdeploy#53

I hope this helps.

Cheers!