[BUG] Binaries defined by the current package are not recognized as available binaries inside itself by npm run #6141
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 have something like this:
And running
npm run compile
leads to the following error:Expected Behavior
I think this error shouldn't exist because "npm run" (and npx I guess) should be able to recognize that the "tsex" binary mentioned in the script is actually provided by the package itself.
Steps To Reproduce
Do something like the above.
Environment
The text was updated successfully, but these errors were encountered: