8.0.0 seems to fail when modifying the folder structure of a library on `postinstall`
Open
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
As in the title, it seems that the latest version (8.0.0) fails on a package during `postinstall` but not when re-running `patch-package`.
I did some investigations and it seems that it's only caused when renaming the folder of a library.
Here are the steps to reproduce it:
1. Rename a sub-folder of a library
2. Modify content of a file inside that newly renamed folder
3. Create patch file
4. Remove `node_modules`
5. `npm i` with `patch-package` in postinstall
6. Notice error
For now, I will be reverting to `7.0.0` as the issue doesn't seem to occur there.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.