Basically what happen says when I click on login it redirects me to the browser and in browser everything happens smoothly and after when it opens the anti gravity app it still shows sign in with Google tab I tried all the methods but it’s still not working I deleted app I reinstall it I clear everything stills facing same problem and the browser is working perfectly like if I call just directly anti gravity to open the app but for sign in it not happening and if I click on that click here button in successfully logged in page still same issue
facing the same problem and there is no response from the google team
have you tried logging with a phone verified google account.. this might help in some cases.
In the PowerShell code below, you MUST change YOUR_USERNAME to your actual Windows PC username before running it. Otherwise, it won’t find the file!
The Problem: You try to log in via Google, your browser says “You have successfully authenticated”, but the Antigravity IDE just hangs forever on “Account is being prepared”. Reinstalling, clearing AppData, or changing default browsers does absolutely nothing.
If you dig into the IDE’s background logs, you will find the silent killer: TypeError: Do not know how to serialize a BigInt Extension host with pid XXXXX exited with code: 0
Why is this happening? Google’s backend sends a massive Auth Token / Gaia ID that JavaScript interprets as a BigInt. When the IDE’s core engine tries to save your session using JSON.stringify(), it immediately crashes because standard JSON doesn’t support BigInt serialization. The extension host dies instantly, leaving your UI hanging forever waiting for a response from a dead brain.
The Solution (Safe Direct Injection): We need to inject a simple patch (BigInt.prototype.toJSON = function() { return this.toString(); };) to the very first line of the core file without breaking its encoding.
-
Close Antigravity completely.
-
Open CMD (Command Prompt).
-
Copy the code below, change
YOUR_USERNAME, paste it into CMD, and hit Enter.
powershell -Command “$f=‘C:\Users\YOUR_USERNAME\AppData\Local\Programs\Antigravity\resources\app\out\main.js’; $p=‘BigInt.prototype.toJSON = function() { return this.toString(); };’; $c=[System.IO.File]::ReadAllText($f); $u8NoBom = New-Object System.Text.UTF8Encoding $false; [System.IO.File]::WriteAllText($f, $p + [Environment]::NewLine + $c, $u8NoBom)”
Hello everyone! welcome to AI Forum!
Thank you for bringing this to our attention. We have escalated the issue to our internal teams for a thorough investigation.
To ensure our engineering team can investigate and resolve these issues effectively, we highly recommend filing bug reports directly through the Antigravity in-app feedback tool. You can do this by navigating to the top-right corner of the interface, clicking the Feedback icon, and selecting Report Issue.
Great That solve my problem!! Thank you
Exact same thing is happening to me, login, redirect to browser, no register, left in the dust
having the issue on Linux.
Fixed it for me as well. Thank you!
It works for me. I just manually copied the line into the main.js file. I spent 2 hours fixing this and you saved me ![]()
Huge Thanks!
Yeah!!! I also facing this problem.
Working for macOS. go to ~/Applications/Antigravity.app/Contents/Resources/app/out/main.js and add “BigInt.prototype.toJSON = function() { return this.toString(); };” manually or with terminal. Thank you so much.
It works for me ,thank you very much.
Honestly, this was more helpful than Google customer support. Thank you so much