apex-enterprise-patterns / fflib-apex-mocks

An Apex mocking framework for true unit testing in Salesforce, with Stub API support
BSD 3-Clause "New" or "Revised" License
423 stars 214 forks source link

Can't deploy to production #134

Closed martingaleh closed 1 year ago

martingaleh commented 1 year ago

Describe the bug When I press the button to deploy to production, there is a blue bar on top that says: Unhandled Exception : java.lang.RuntimeException: /app/.local/share/sfdx/client/7.178.0-ce727f2/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /app/.local/share/sfdx/client/7.178.0-ce727f2/bin/node)

To Reproduce

Press the button Make sure production/developer radio button selected Click Login to Salesforce Login to production instance

Expected behavior I expect the library to be automatically deployed

Screenshots and text of error observed image Version I assume the one on the initial github page is the latest version

martingaleh commented 1 year ago

I googled further and found this: https://githublab.com/repository/issues/afawcett/githubsfdeploy/53

And this is happening to other libraries

ImJohnMDaniel commented 1 year ago

Closing as this is a duplicate of #133 and not an issue with this repo. As you discovered, this is an issue with the GitHubSFDeploy tool. See actual issue here. I would suggest using the Salesforce CLI to deploy the ApexMocks codebase in the meantime.