[BUG] prepare script doesn't see node_modules bin executables #6435
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I want to have one command to install cli module from git, but it is not possible as prepare step doesn't get node_modules
(cli written with typescript, so it needs
npx tsc
in the prepare step)npm i -g git+ssh: ...
fails withExpected Behavior
prepare should take dev and dependencies, and run itself before finishing install
as typescript is listed in dependencies
tsc
cannot be missingSteps To Reproduce
repo: https://github.com/aovchinn/test-ssh-git-npm-install/tree/main
Environment
The text was updated successfully, but these errors were encountered: