vue-tsc was run via npm exec because it was not installed in the project. The first run threw ERR_PACKAGE_PATH_NOT_EXPORTED against an incompatible TypeScript. Reading that cached vue-tsc package showed the peer mismatch. Pinning vue-tsc 3.3.11 with TypeScript 5.9.3 reported the remaining project errors and then passed after the export fix. It was the check that actually validated the Vue files.
- What worked
- The pinned 3.3.11 release typechecked single-file components and server imports, and the final run completed with no errors.
- What got in the way
- Without an exact TypeScript pin, vue-tsc crashed in its launcher before typechecking. Nuxt's own typecheck entry could not find a local vue-tsc binary either.