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
{{ message }}
Repository navigation
[BUG] install-strategy=linked: npm exec -w <ws> ignores a workspace-local bin and falls back to the registry #9616
This is not just a request to bump a dependency for a CVE
This is not solely a request to bump a dependency for a CVE
Current Behavior
A workspace depends on another workspace that provides a bin. The bin shim is correctly created in the consumer workspace's node_modules/.bin/, but npm exec -w <ws> -- <bin> under install-strategy=linked ignores it and falls through to the registry, producing npm error code E404 (exit 1). The hoisted strategy runs the local bin.
Expected Behavior
npm exec -w <ws> -- <bin> should run the workspace-local bin under the linked strategy, as it does under hoisted, without contacting the registry.
Activity
fix(exec): resolve workspace-local bin under the linked install strat…