-
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
SFDX version 7.155.0 is failing to create/install package version due to "Missing config object" error #1576
Comments
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. |
We found the same issue for installation:
|
It seems |
Thanks for posting. Are you able to reproduce this locally (outside of CI)? Are you able to reproduce this error with any other commands in the same plugin, e.g., |
Yes, I installed the latest version 7.155.1 and I got the same error locally, so far I tried with 2 commands:
Result:
Resullt:
Btw, I tried to narrow down the issue, I tried 1st command (package installation) works fine on my scratch org, it seems it is failing for sandbox or production (devHub) only. |
When it worked for your scratch org, was it set as the default org for your project so you did not specify a targetusername, e.g., |
Hey @shetzel I provided the targetusername like for scratch org: and it worked fine for me |
btw, I am facing the same issue with Unfortunately, I need to downgrade the sfdx cli version bcz I couldn't move forward with development, so I couldn't test more on 7.155.1 |
@honeyverma - if you are able to, can you retry your steps after: When finished testing uninstall that plugin version with: |
We've been experiencing the same issue since 7.155.1 was released. I just now tried installing the salesforce-alm plugin and somehow magically, the force:package:install command works. I hope this was just to help troubleshoot as it looks like the salesforce-ulm plugin is archived. |
@shetzel Can this be fixed in 7.156.x? |
@omazhar @honeyverma - this should now be fixed in CLI v7.156.1, which is the latest production version promoted today. |
Summary
We have our CI-CD pipeline which creates a new version for every PR/Push, however, suddenly it started failing with error: "Missing config object"
PS: We always installed a new version of SFDX in our pipeline server
Steps To Reproduce: (in our unlocked package repo pipeline)
npm i sfdx-cli --global
sfdx auth:jwt:grant --clientid *** --jwtkeyfile server.key --username *** --setdefaultdevhubusername -a <devHubAlias>
sfdx force:package:version:create -p onagsf -d force-app -k test1234 --wait 120 -v OnProd2.0 -c --definitionfile config/project-scratch-def.json
Expected result
Version should be created (as it was created for last 1 year until today morning)
Actual result
Failed with an error message:
ERROR running force:package:version:create: Missing config object.
System Information
npm i sfdx-cli --global
Additional information
SFDX release: 7.155.0
The text was updated successfully, but these errors were encountered: