npm install modifies package-lock.json on the server, causing 'git pull --ff-only' to abort with 'your local changes would be overwritten'. Add 'git checkout -- package-lock.json' before the pull so the generated lock file never blocks updates.
npm install modifies package-lock.json on the server, causing 'git pull --ff-only' to abort with 'your local changes would be overwritten'. Add 'git checkout -- package-lock.json' before the pull so the generated lock file never blocks updates.