【Bug】rtk npx vue-tsc --noEmit(MacOS)
Problem confirmation After detailed troubleshooting, I confirmed the problem: Root cause There are bugs in the processing of vue tsc by rtk npx: Command Result Reason npx vue-tsc --version ✅ Normal native npx direct execution package rtk npx vue-tsc --version ✅ Normal rtk correct proxy npx vue-tsc --noEmit ✅ Normal native npx passes parameters to vue tsc rtk npx vue-tsc --noEmit ❌ An error is reported. The rtk internally erroneously executes vue tsc as an npm script The error message npm error Missing script: "vue tsc" clearly indicates that the rtk npx calls npm run vue tsc internally instead of npx vue tsc.
[w] wshm · Automated triage by AI
🔍 Automated Triage
| 🐛 Category | bug |
| 🟠 Priority | high |
| 🎯 Confidence | 88% |
Summary
rtk npx misroutes commands with flags like --noEmit, incorrectly calling npm run vue-tsc instead of npx vue-tsc --noEmit; likely a parsing bug in the npx rewrite/proxy logic.
This looks like a simple fix. Only repo maintainers can trigger auto-fix.
Triaged automatically by wshm · This is an automated analysis, not a human review.
Confirmed on Linux (CachyOS) as well.
npx vue-tsc --noEmit works.
rtk npx vue-tsc --version works.
rtk npx vue-tsc --noEmit fails with npm error Missing script: "vue-tsc".
I’d like to take this as my first contribution.
This should be fixed by https://github.com/rtk-ai/rtk/pull/1458