You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scope: all 2 workspace packages
ERROR ENOENT: no such file or directory, lstat 'C:\tools\msys64\home\Anuraag\git\pnpm-bin-lifecycle\package1\build'
Additional information:
The bin script that pnpm is trying to find is created by package1's lifecycle script, however it seems that this is happening before the lifecycle has run. This seems to only happen when another package in the workspace depends on it, so in this case because package2 depends on package1, and package1 has a bin filecreated by a lifecycle script, it seems to fail.
The text was updated successfully, but these errors were encountered:
pnpm version: 3.4.1
Code to reproduce the issue:
Uploaded to https://github.com/anuraaga/pnpm-bin-lifecycle
Expected behavior:
Installs correctly
Actual behavior:
Install fails with unable to find file error
Additional information:
The bin script that pnpm is trying to find is created by package1's lifecycle script, however it seems that this is happening before the lifecycle has run. This seems to only happen when another package in the workspace depends on it, so in this case because package2 depends on package1, and package1 has a bin filecreated by a lifecycle script, it seems to fail.
The text was updated successfully, but these errors were encountered: