Skip to content

Unexpected Error on Package creation with "force:package:beta:version:create" command #1789

@rsavaliyagit

Description

@rsavaliyagit

Summary

I'm getting below error on package creation with "force:package:beta:version:create" command.

Command: sfdx force:package:beta:version:create --codecoverage -p "PACKAGE" -k "INSTALLATIONKEY" -v "TARGETDEVHUBUSERNAME" --wait 120

(Use node --trace-warnings ... to show where the warning was created)
ERROR running force:package:beta:version:create: Converting circular structure to JSON
--> starting at object with constructor 'Connection'
| property '_refreshDelegate' -> object with constructor 'SessionRefreshDelegate'
--- property '_conn' closes the circle

Steps To Reproduce: Run this command to create a package.

Command: sfdx force:package:beta:version:create --codecoverage -p "PACKAGE" -k "INSTALLATIONKEY" -v "TARGETDEVHUBUSERNAME" --wait 120

Expected result

Package should be created successfully.

Actual result

Error:

ERROR running force:package:beta:version:create: Converting circular structure to JSON
--> starting at object with constructor 'Connection'
| property '_refreshDelegate' -> object with constructor 'SessionRefreshDelegate'
--- property '_conn' closes the circle

System Information

  • Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.) : sfdx-cli/7.174.0
  • If you are using sfdx
    • Run 'sfdx force:package:beta:version:create --codecoverage -p "PACKAGE" -k "INSTALLATIONKEY" -v "TARGETDEVHUBUSERNAME" --wait 120'
  • Paste the output here

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a buginvestigatingWe're actively investigating this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions