Both your branch and main bumped dependencies. The merge says `package-lock.json` is in conflict — 800 lines of unreadable diff.
Never hand-edit lockfiles. Take one side, then regenerate.
Medium · 4 steps · +500 XP
This scenario walks through 4 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git merge maingit checkout --theirs package-lock.jsongit add package-lock.jsongit commit -m "merge: regenerate lockfile"Take theirs, run `npm install`, commit. Lockfile = derived artifact.