Git Merge Unrelated Histories vs Rebase: When and How to Use Each - How to Resolve npm ENOENT package.json Not Found-Resolving pnpm install Exit Code 1

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.