When running yarn install after cloning the repository, I encountered an error related to the postInstall script defined in package.json.
π Steps to Reproduce:
Steps to reproduce the behavior:
Clone repository
Run command
yarn install
See error
Expected Behavior:
The postInstall script should execute without errors after running yarn install, performing any necessary post-installation tasks.
Actual Behavior:
The command fails with the error message:
No such package ; File not found: C:/Users/user/Documents/better-rail-app/node_modules/;/package.json.
π· Screenshots/Logs:
>yarn install
yarn install v1.22.22
[1/4] Resolving packages...
success Already up-to-date.
$ patch-package; node ./bin/postInstall;
patch-package 6.2.2
No such package ;
File not found: C:/Users/user/Documents/better-rail-app/node_modules/;/package.json
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
π» Environment:
Specify the relevant environment details where the bug occurred:
π Bug Description:
When running
yarn install
after cloning the repository, I encountered an error related to thepostInstall
script defined inpackage.json
.π Steps to Reproduce:
Steps to reproduce the behavior:
Expected Behavior:
The
postInstall
script should execute without errors after running yarn install, performing any necessary post-installation tasks.Actual Behavior:
The command fails with the error message:
No such package ; File not found: C:/Users/user/Documents/better-rail-app/node_modules/;/package.json.
π· Screenshots/Logs:
π» Environment:
Specify the relevant environment details where the bug occurred:
OS: Windows 11 23H2 Yarn version: v1.22.22