Skip to content

fix(npx): use npx instead of npm for generic passthrough#819

Open
soof-golan wants to merge 1 commit intortk-ai:developfrom
soof-golan:fix/npx-generic-passthrough-runs-npm
Open

fix(npx): use npx instead of npm for generic passthrough#819
soof-golan wants to merge 1 commit intortk-ai:developfrom
soof-golan:fix/npx-generic-passthrough-runs-npm

Conversation

@soof-golan
Copy link

Summary

  • rtk npx fallback for unrecognized commands called npm_cmd::run(), which executes npm instead of npx
  • Replaced with a direct npx passthrough, matching the existing prisma passthrough pattern

Fixes #815

The Npx command's default match arm incorrectly called npm_cmd::run(),
which executes `npm` instead of `npx`. This caused all non-routed npx
commands to fail (e.g. `rtk npx cowsay hello` → "Missing script").

Fixes rtk-ai#815
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Soof Golan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants