Not planned
Description
As per the announcement, I've done npm install -D @typescript/native-preview
but I'm unable to go further and execute tsgo. I've tried:
npm exec -- tsgo --noEmit
npm exec -- @typescript/native-preview --noEmit
Both yield the following error message:
'tsgo' is not recognized as an internal or external command,
operable program or batch file.
Environment: Windows 10, Node 22.14.0, NPM 11.4.1
Activity
Sainan commentedon May 23, 2025
Ah wait, interesting, if I do
npx tsgo --noEmit
, it does work. So, thenpm exec
abstraction works, butnpm exec
itself does not. What?[-]native-preview does not work on Windows 10[/-][+]`npm exec -- tsgo` does not work[/+]jakebailey commentedon May 23, 2025
Can you pass
--loglevel verbose
?Sainan commentedon May 23, 2025
And now I can't reproduce it at all anymore. Maybe an NPM bug. idk.