Open zzwx opened 3 years ago
yarn --cwd ./path
works as intended. So it might be an npm
bug.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Versions of relevant software used 0.14.0
What happened I'm trying to automate stuff from another directory.
What you expected to happen protoc-gen-ts protoc-gen-ts.cmd protoc-gen-ts.ps1
should appear under
node_modules/.bin
instead of project directory.How to reproduce it (as minimally and precisely as possible):
npm --prefix ./path install ./path
withoutnode_modules
Also repeated attempts to do the same lead to
(Where
PATH
andPATH_TWO_LEVELS_UP
are project-dependent withPATH_TWO_LEVELS_UP
being 2 levels up fromPATH
)Environment: