-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using npx tsconfig.json only opens a file (does not work - Windows) #43
Comments
#18 |
Oh I see. So Powershell is trying to open the file instead of running the script :| |
So, did you find a way to solve? @max-programming |
if you have installed git bash for example just type ./node_modules/.bin/tsconfig.json and it will work @Waiolo |
it just give another error @DontEatRice |
I found out. just type npx tsconfig.json.cmd . Just add a cmd at the end. |
Worked for me. |
Duplicate of #47 |
None of that worked with me. That's an issue and the ONLY fix I found to be working was to clone the project and build it yourself with a custom name |
@tanishqdaiya did you check the link I provided? If it's not working please show the error, etc. that's happening when you try it. There should be no reason this doesn't work. #47 (comment) |
@OmgImAlexis Thanks for the solution. Using Windows has always been harder for me since I switched from Linux (don't ask me why). Can we set an alias in powershell for that command ( |
Yep, add this to your profile. You can find your profile by using this command in powershell
Then call it with |
Thanks, this works! I'm using command prompt on Windows. |
Whenever I run
npx tsconfig.json
, it opens atsconfig.json
file inC:\Users\<username>\AppData\Local\npm-cache\_npx\bb22b66c4c94b5c9\node_modules\.bin\tsconfig.json
on Windows. How can I make it work?The text was updated successfully, but these errors were encountered: