Skip to content

【Bug】rtk npx vue-tsc --noEmit(MacOS) #1269

@sacrtap

Description

@sacrtap

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeffort-smallQuelques heures, 1 fichiergood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions