question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using npx tsconfig.json only opens a file (does not work - Windows)

See original GitHub issue

Whenever I run npx tsconfig.json, it opens a tsconfig.json file in C:\Users\<username>\AppData\Local\npm-cache\_npx\bb22b66c4c94b5c9\node_modules\.bin\tsconfig.json on Windows. How can I make it work?

image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:13

github_iconTop GitHub Comments

16reactions
davecarrijocommented, Oct 28, 2021

I found out. just type npx tsconfig.json.cmd . Just add a cmd at the end.

0reactions
DamianAradocommented, Apr 20, 2022

I found out. just type npx tsconfig.json.cmd . Just add a cmd at the end.

Thanks, this works! I’m using command prompt on Windows.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I generate a tsconfig.json file? - Stack Overflow
How can I generate a tsconfig. json via the command line? I tried command tsc init , but this doesn't work.
Read more >
jsconfig.json Reference - Visual Studio Code
json : In this mode, JavaScript files opened in Visual Studio Code are treated as independent units. As long as a file a.js...
Read more >
TypeScript - Cypress Documentation
Configure tsconfig.json · Open the command palette (Mac: cmd+shift+p , Windows: ctrl+shift+p ) · Type "restart ts" and select the "TypeScript: Restart TS...
Read more >
Documentation - Configuring Watch - TypeScript
But because this uses file system events, there is not much CPU cycle involved. ... But recursive watching is supported on only Windows...
Read more >
Using TypeScript - React Native
Getting Started with TypeScript​ ... If you're starting a new project, there are a few different ways to get started. ... If the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found