I managed to resolve the login issue by modifying a core main.js file in Antigravity.
Steps to fix:
- Navigate to the location indicated in your logs:
…/main.js:31:11765(Line 31, position 11765). - Locate the following code:
JSON.stringify(t) - Replace it with this snippet to handle BigInt serialization:
JSON.stringify(t,(_k,v) => typeof v === "bigint" ? v.toString() : v)
This change should allow the login process to complete successfully.
This is a temporary workaround. If Antigraviti is updated or reinstalled, main.js will be overwritten and you will need to apply this change again. I hope Google addresses this issue soon so this manual fix isn’t necessary.