<!-- If this issue affects many people in a company/big team, create a post for your company in the following discussion: https://github.com/pnpm/pnpm/discussions/3787 and link the issue in your post. This will help us prioritize issues that affect more people. --> ### pnpm version: 7.12.0 ### Code to reproduce the issue: install local pkg 1. pnpm add xxx "xxx": "file:xxx", 2. pnpm update xxx ### Expected behavior: update pkg xxx ### Actual behavior: ### Additional information: - `node -v` prints: node 16 - Windows, macOS, or Linux?: macOS