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
Windows system tries to resolve actual js to run relatively to junction point instead of original location while trying to run cmd from linked binaries folder.
We can work with scripts through repo-cooker without linking at all. just add %monorepoRoot%/node_modules/.bin into PATH in runtime
But it wouldn't be possible to run scripts in subfolders directly.
As I remember I did a special trick in cerebral monorepo for the same problem.
Windows system tries to resolve actual js to run relatively to junction point instead of original location while trying to run cmd from linked binaries folder.
It just junctions is not the same as symlinks
We can work with scripts through repo-cooker without linking at all. just add %monorepoRoot%/node_modules/.bin into PATH in runtime
But it wouldn't be possible to run scripts in subfolders directly.
As I remember I did a special trick in cerebral monorepo for the same problem.
First I did this trick:
https://github.com/cerebral/cerebral/blob/4647f3dbea899fa4bcc57370aaba82c2538a3b86/package.json#L20
then it was replaced with link-parent-bin
cerebral/cerebral@b31a93c#diff-b9cfc7f2cdf78a7f4b91a753d10865a2(edited)
details here:
cerebral/cerebral#870
The text was updated successfully, but these errors were encountered: