gustavopch / tsc-files

A tiny tool to run `tsc` on specific files without ignoring tsconfig.json
MIT License
230 stars 49 forks source link

This works on Windows? "C:\Users\Nelson" is not recognized as internal or external command... #33

Open nelson6e65 opened 2 years ago

nelson6e65 commented 2 years ago

My username has spaces: "Nelson Martell".

I get that error when I run:

npx tsc-files --noEmit src\app\business\guards\has-businesses.guard.ts

# or
px tsc-files -- --noEmit ./src/app/business/guards/has-businesses.guard.ts

# or full path
npx tsc-files --noEmit "C:\Users\Nelson Martell\Documents\GitHub\alazes\buen-cemento\src\app\business\guards\has-businesses.guard.ts"
$ npm ls tsc-files
-- tsc-files@1.1.3

$ npx tsc --help
Version 4.3.5
Syntax:   tsc [options] [file...]
levi-ren commented 2 years ago

I'm having the same issue. Any updates on this?

gustavopch commented 2 years ago

No, unfortunately, at this moment, I'm not having time to dedicate to this project. I recommend forking or just copying the source (about 80 lines) to your project and adjusting as needed.

ghost commented 1 year ago

I'm running into the same issue