Bug Report: App Unresponsive After Web Login (BigInt Serialization Error)
Issue Summary: The AntiGravity desktop app fails to process the login callback after a successful browser-based authentication. The application remains on the onboarding/login screen without any UI feedback, while the main process logs a fatal TypeError.
Environment:
-
App Version: 1.20.5
OS: Windows 11
Installation Path: C:\Users\xxxx\AppData\Local\Programs\Antigravity\
Technical Root Cause: The main process encountered an uncaught exception during the OAuth token migration or browser onboarding sync. The error is a TypeError: Do not know how to serialize a BigInt triggered by a JSON.stringify call. This suggests that one of the internal state objects (possibly a timestamp, large user ID, or workspace metadata) contains a BigInt value that is not being handled correctly before serialization.
Stack Trace Snippet:
Plaintext
[error] [uncaught exception in main]: TypeError: Do not know how to serialize a BigInt
at JSON.stringify (<anonymous>)
at vD (file:///C:/Users/xxxx/AppData/Local/Programs/Antigravity/resources/app/out/main.js:31:11765)
at nve.o (file:///C:/Users/xxxx/AppData/Local/Programs/Antigravity/resources/app/out/main.js:31:14636)
at nve.m (file:///C:/Users/xxxx/AppData/Local/Programs/Antigravity/resources/app/out/main.js:31:14511)
at wW.value (file:///C:/Users/xxxx/AppData/Local/Programs/Antigravity/resources/app/out/main.js:32:265)
Reproduction Steps:
-
Launch AntiGravity App with LAST VERSION.
-
Trigger “Login” which opens the default browser.
-
Complete Google Authentication in the browser successfully.
-
The browser onboarding server on
http://localhost:10812receives the request. -
The main process attempts to serialize the state/token, crashes internally, and the App UI remains idle.