-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
bugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bugvalidatedVersion information for this issue has been validatedVersion information for this issue has been validated
Description
Summary
Cannot generate a full manifest file on a huge org while it's working on smaller orgs.
Steps To Reproduce
Run this command on a huge org: sf project generate manifest --output-dir manifest --name=allMetadata --from-org {ORG}
Expected result
Manifest generated
Actual result
{
"name": "RangeError",
"message": "Maximum call stack size exceeded",
"exitCode": 1,
"context": "ManifestGenerate",
"stack": "RangeError: Maximum call stack size exceeded\n at SfCommandError.from (file://~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/sf-plugins-core/lib/SfCommandError.js:39:16)\n at ManifestGenerate.catch (file://~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/sf-plugins-core/lib/sfCommand.js:316:47)\n at ManifestGenerate._run (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/sf-plugins-core/node_modules/@oclif/core/lib/command.js:316:29)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Config.runCommand (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/config/config.js:435:25)\n at async run (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/main.js:96:16)\n at async file://~/.npm-global/lib/node_modules/@salesforce/cli/bin/run.js:15:1",
"cause": "RangeError: Maximum call stack size exceeded\n at sendIt (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/source-deploy-retrieve/lib/src/resolve/connectionResolver.js:132:35)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async ConnectionResolver.sendBatchedRequests (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/source-deploy-retrieve/lib/src/resolve/connectionResolver.js:156:17)\n at async ConnectionResolver.resolve (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/source-deploy-retrieve/lib/src/resolve/connectionResolver.js:70:39)\n at async ComponentSet.fromConnection (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSet.js:215:26)\n at async ComponentSetBuilder.build (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSetBuilder.js:147:37)\n at async ManifestGenerate.run (file://~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/plugin-deploy-retrieve/lib/commands/project/generate/manifest.js:103:30)\n at async ManifestGenerate._run (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@salesforce/sf-plugins-core/node_modules/@oclif/core/lib/command.js:312:22)\n at async Config.runCommand (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/config/config.js:435:25)\n at async run (~/.npm-global/lib/node_modules/@salesforce/cli/node_modules/@oclif/core/lib/main.js:96:16)",
"warnings": [],
"code": "1",
"status": 1,
"commandName": "ManifestGenerate"
}System Information
{
"architecture": "darwin-x64",
"cliVersion": "@salesforce/cli/2.73.9",
"nodeVersion": "node-v20.12.2",
"osVersion": "Darwin 24.2.0",
"rootPath": "~/.npm-global/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.17 (core)",
"@oclif/plugin-commands 4.1.16 (core)",
"@oclif/plugin-help 6.2.21 (core)",
"@oclif/plugin-not-found 3.2.35 (core)",
"@oclif/plugin-plugins 5.4.25 (core)",
"@oclif/plugin-search 1.2.18 (core)",
"@oclif/plugin-update 4.6.23 (core)",
"@oclif/plugin-version 2.2.20 (core)",
"@oclif/plugin-warn-if-update-available 3.1.30 (core)",
"@oclif/plugin-which 3.2.25 (core)",
"@salesforce/cli 2.73.9 (core)",
"apex 3.6.8 (core)",
"api 1.3.3 (core)",
"auth 3.6.87 (core)",
"community 3.2.10 (user) published 262 days ago (Sat May 11 2024) (latest is 3.3.8)",
"data 4.0.1 (core)",
"deploy-retrieve 3.17.7 (core)",
"dev 2.1.8 (user) published 370 days ago (Wed Jan 24 2024) (latest is 2.5.1)",
"info 3.4.32 (core)",
"limits 3.3.44 (core)",
"marketplace 1.3.7 (core)",
"org 5.2.23 (core)",
"packaging 2.9.12 (core)",
"schema 3.3.46 (core)",
"settings 2.4.10 (core)",
"signups 2.0.21 (user) published 349 days ago (Tue Feb 13 2024) (latest is 2.6.10)",
"sobject 1.4.49 (core)",
"telemetry 3.6.29 (core)",
"templates 56.3.35 (core)",
"trust 3.7.55 (core)",
"user 3.6.6 (core)",
"@salesforce/sfdx-scanner 4.7.0 (user) published 90 days ago (Tue Oct 29 2024) (latest is 4.8.0)",
"sfdmu 4.33.17 (user) published 271 days ago (Thu May 02 2024) (latest is 4.38.0)"
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue or pull request that identifies or fixes a bugIssue or pull request that identifies or fixes a bugvalidatedVersion information for this issue has been validatedVersion information for this issue has been validated