-
Notifications
You must be signed in to change notification settings - Fork 80
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
TypeError: Converting circular structure to JSON #158
Comments
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 |
I am also encountering the same error currently: |
Just got the same error as well, not sure how helpful this additional example is 😅 |
Same here now: UPDATE 2023/07/04 it works again. |
Can confirm that #197 |
Is it possible to put #197 on v1.x? My enterprise version currently support only v1.x |
Thanks @JamesMGreene |
When the deployment fails, an extra error is logged
TypeError: Converting circular structure to JSON
.I believe the issue is located here
deploy-pages/src/internal/deployment.js
Line 83 in af48cf9
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.
The text was updated successfully, but these errors were encountered: