ANTIGRAVITY LABJP
TAG

package-json

1 articles
Back to all tags
Related:
antigravity1ai-agent1troubleshooting1npm1
Tips/2026-05-19Intermediate

When Antigravity's AI rewrites your package.json dependencies and breaks the build

You asked Antigravity for a small visual change, and somehow twenty-three dependency lines in package.json got rewritten — carets stripped, pins bumped to latest, the build dead on arrival. Here is what triggers it, how to roll back cleanly, and three guardrails to keep it from recurring.