npm prune –production (after npm ci only) erroneously uninstalls regular dependency (reopen)

This non-fixed bug was closed. Opening a new bug because it really needs fixing: