Something fishy in Antigravity? “npm run build” 12 extra modules.

A simple "npm run build" script outputs a slightly different app (I noticed because a few css properties were off).

But when comparing vscode or a regular windows terminal, running npm run build gave me different outputs (4298 modules in antigravity and 4286 in vscode/windows terminal).

I tried Gemini's advice to run this, and still the same differences.

# 1. Forcefully clear the Vite cache directory (if it exists)
rm -rf node_modules/.vite

# 2. Clear environment variables (Keep these, just in case they were re-injected later) $env:NODE_OPTIONS=$null $env:VSCODE_INSPECTOR_OPTIONS=$null #

3. Run the official build command.
npm run build

Leave a Reply