-
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
unable to build 2gp package with the latest cli due to big object index file #2847
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. |
Hello @bill-meyestro 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
what command are you running when you get the error? |
sf package version create --package "xxxxx" --installation-key zzzzzzzzz --definition-file config/project-scratch-def.json --code-coverage |
i am rebuilding with "index-meta.xml" and will deploy to a scratch org and upgrade a customer sandbox. |
No trouble building, deploying to scratch org, or upgrading the package in a sandbox. Thank you very much for such a quick response. I really appreciate it. |
@mshanemc I've also just upgraded to sf cli
I haven't tried to create a package version yet (I can test that later), but it seems to be happening every time I deploy/push to scratch orgs. Let me know what you think - happy to provide any other info that might be helpful. |
@jongpie short answer and workaround: you should use I'm going to look into whether something changed recently related to that. background: [still trying to figure out why it's not working like it used to!] |
@mshanemc I reverted to the previous version I was using - I've also switched to using the new/correct |
This issue has been linked to a new work item: W-15631183 |
This issue is fixed in version 2.40.7 (May 8, 2024) of the CLI. Enjoy! |
Summary
I upgraded my cli from 2.35.6 to 2.38.7 this morning and tried to build my project (2gp). Getting the following error -
Audit__b.AuditIndex.indexe: An object 'Audit__b.AuditIndex.indexe' of type Index was named in package.xml, but was not found in zipped directory
This is not a new object.
I believe it was a couple of years ago we had to rename the big object index file to ".indexe-meta.xml" as a workaround in the build or deploy process.
Does the file need to be renamed to "index-meta.xml" again?
System Information
{
"architecture": "win32-x64",
"cliVersion": "@salesforce/cli/2.38.7",
"nodeVersion": "node-v20.12.2",
"osVersion": "Windows_NT 10.0.22631",
"rootPath": "C:\Users\BillDunn\AppData\Local\sf\client\2.38.7-023d2b4",
"shell": "cmd.exe",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.0.15 (core)",
"@oclif/plugin-commands 3.3.1 (core)",
"@oclif/plugin-help 6.0.21 (core)",
"@oclif/plugin-not-found 3.1.4 (core)",
"@oclif/plugin-plugins 5.0.10 (core)",
"@oclif/plugin-search 1.0.22 (core)",
"@oclif/plugin-update 4.2.6 (core)",
"@oclif/plugin-version 2.0.17 (core)",
"@oclif/plugin-warn-if-update-available 3.0.15 (core)",
"@oclif/plugin-which 3.1.7 (core)",
"@salesforce/cli 2.38.7 (core)",
"apex 3.1.5 (core)",
"auth 3.6.1 (core)",
"data 3.3.1 (core)",
"deploy-retrieve 3.6.3 (core)",
"info 3.2.1 (core)",
"limits 3.3.3 (core)",
"marketplace 1.2.1 (core)",
"org 4.1.1 (core)",
"packaging 2.4.0 (core)",
"schema 3.3.3 (core)",
"settings 2.2.1 (core)",
"sobject 1.3.3 (core)",
"source 3.3.1 (core)",
"telemetry 3.3.2 (core)",
"templates 56.2.2 (core)",
"trust 3.6.3 (core)",
"user 3.5.2 (core)",
"@salesforce/sfdx-scanner 4.0.0 (user)"
]
}
The text was updated successfully, but these errors were encountered: