npm run build Failed: Troubleshooting Checklist - Stop Nginx Redirect Loop Between HTTP and HTTPS-Fix npm package.json Not Found Error

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.