Fix 'pnpm global install permission denied' on Linux - Practical Node.js Garbage Collection Tuning-Fix npm ERR! enoent ENOENT: package.json Missing in Project

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.