Closed SimonSiefke closed 1 year ago
Just wanted to note that I'm seeing the same issue with one of my projects at https://github.com/jlopp/bitcoin-transaction-size-calculator/actions/runs/4940715737
Same error here https://github.com/croquet/worldcore/actions/runs/4941689075
I am also encountering the same error currently: https://github.com/bartvdbraak/omnidash/actions/runs/5231016740/jobs/9444935459?pr=21
Just got the same error as well, not sure how helpful this additional example is š https://github.com/solderneer/solderneer/actions/runs/5444544651/jobs/9903042221
Same here now: https://github.com/voidlabs/mosaico.io/actions/runs/5445090273/jobs/9903851393
UPDATE 2023/07/04 it works again.
Can confirm that #197 deploy-pages@v2.0.3
fixes the issue. Thank you @JamesMGreene
Is it possible to put #197 on v1.x? My enterprise version currently support only v1.x
@abinmn That's a reasonable request! šš»
I've gone ahead and backported #197 (and #187) into a new v1.2.9
release (and the latest v1
tag). Hope that helps. ā¤ļø
Thanks @JamesMGreene
When the deployment fails, an extra error is logged
TypeError: Converting circular structure to JSON
.I believe the issue is located here https://github.com/actions/deploy-pages/blob/af48cf94a42f2c634308b1c9dc0151830b6f190a/src/internal/deployment.js#L83 where the function call
JSON.stringify(error)
fails when the error contains cyclic references.A possible solution might be to use https://www.npmjs.com/package/serialize-error to remove the cyclic references from the error before passing the result to JSON.stringify.