Skip to content
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 running force:package:version:create #1435

Closed
revathikalai opened this issue Mar 9, 2022 · 6 comments
Closed

ERROR running force:package:version:create #1435

revathikalai opened this issue Mar 9, 2022 · 6 comments
Labels
area:packaging more information required Issue requires more information or a response from the customer owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.

Comments

@revathikalai
Copy link

Our current package version is 1.1. We tried to create a new package with 1.2 with security enhancements for the Security review resubmission. During the package version creation, getting an error
" ERROR running force:package:version:create:  Can’t create package version. The ancestor version [undefined] you specified isn’t the highest released package version. Set the ancestor version to 1.1.0, and try creating the package version again. You can also specify --skipancestorcheck to override the ancestry requirement."
CLI version: 7.141 (it was 7.140 so updated to 7.141 and tried the same but no luck).
Recent Released Package Version: Please see the attached image.
Current Package Version: 1.1.0.1 and No ancestor for it.
Tried the CLI with the below: 
{ "default": true, "path": "force-app", "package": "NTeli Mind", "versionName": "ver 1.2", "versionNumber": "1.2.0.NEXT", "ancestorVersion": "HIGHEST" / "1.1.0.1" / "NONE" }
And tried to skip the Ancestor in the command --skipancestorcheck,but it automatically increase the version 1.1.0.2,1.1.0.3 not 1.2.0.1
All the time CLI shows the same error.This is the blocking issue for us to do the Security review resubmission.
Please let us know if we missed any, that would be helpful.
Thank you
Screen Shot 2022-03-09 at 12 11 43 PM copy
Revathi

@shetzel shetzel added the investigating We're actively investigating this issue label Apr 11, 2022
@github-actions
Copy link

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.

@mshanemc mshanemc added the owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team. label Apr 27, 2022
@github-actions
Copy link

We have determined that the issue you reported exists in code owned by another team that uses only the official support channels. To ensure that your issue is addressed, open an official Salesforce customer support ticket with a link to this issue. We encourage anyone experiencing this issue to do the same to increase the priority. We will keep this issue open for the community to collaborate on.

@revathikalai
Copy link
Author

revathikalai commented Apr 29, 2022 via email

@github-actions
Copy link

This issue has not received a response in 60 days. It will auto-close in 7 days unless a response is posted.

@shetzel
Copy link
Contributor

shetzel commented Nov 28, 2023

@revathikalai - There have been lots of bug fixes applied to the latest packaging plugin and library. Is this still a problem or are you able to create package versions with the latest?

@shetzel shetzel added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Nov 28, 2023
@github-actions github-actions bot removed the stale label Nov 29, 2023
@revathikalai
Copy link
Author

We created the version 1.3 and released. Thank you.

@shetzel shetzel closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:packaging more information required Issue requires more information or a response from the customer owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Projects
None yet
Development

No branches or pull requests

3 participants