Last pnpm version that worked
7.9.5
pnpm version
8.6.10
Code to reproduce the issue
pnpm install (after cache clean & removing node_modules)
pnpm why qs (made sure qs is installed and exists in pnpm lock file)
Expected behavior
show an output of installed qs versions
Actual behavior
no output at all.

Additional information
pnpm list isn't working well either.
Node.js version
16.20.0
Operating System
macOS