I'm having an issue where I constantly have package-lock.json diffs pop up when running our company's next server. When running the server I get a warning in the console:
warn - Found lockfile missing swc dependencies, patching...
warn - Lockfile was successfully patched, please run "npm install" to ensure @next/swc dependencies are downloaded
This isn't happening to anyone else on my team. I believe it started happening when we upgraded from Node 16 to 20 recently. The entire company uses Macbook Pro machines, but probably all slightly different year models.
I've tried deleting package-lock.json and node_modules and rerunning npm i - even tried a cache clean in between, several times. I've also tried nuking the repo entirely and recloning. Nothing seems to fix the issue. I'm attaching screenshots of the diffs. The first four are in the middle of the lockfile, the last two are at the bottom.