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
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
sfdx