I found a package where it pointed the bin to dist, but the dist was generated in a `prepare` script. ### pnpm version: 6.14.6 ### Code to reproduce the issue: https://github.com/vjpr/issue-pnpm-cannot-find-realpath Just run `pnpm i` ### Expected behavior: No error ### Actual behavior: ``` ERROR ENOENT: no such file or directory, chmod '/Users/xxx/dev/code/issue-pnpm-cannot-find-realpath/packages/foo/dist/index.js' ``` ### Additional information: - `node -v` prints: 16.7 - Windows, macOS, or Linux?: macOS + Windows