tsconfig.json icon indicating copy to clipboard operation
tsconfig.json copied to clipboard

Doing npx tsconfig.json asks me to choose an app to open the json file

Open yueximo opened this issue 2 years ago • 2 comments

I have tried every fix and still can't seem to make it run the command instead of opening the file.

yueximo avatar Dec 25 '21 21:12 yueximo

I have a same problem npx tsconfig.json does not create a file i use windows 10 terminal as bash in vscode (i am not sure it is git bash or not) $ ./node_modules/.bin/tsconfig.json bash: ./node_modules/.bin/tsconfig.json: No such file or directory

npx tsconfig.json.cmd npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/tsconfig.json.cmd - Not found npm ERR! 404 npm ERR! 404 'tsconfig.json.cmd@latest' is not in this registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ydbon\AppData\Local\npm-cache_logs\2022-01-06T03_08_44_298Z-debug-0.log

upgrade both typescript and npm version but do not work

robin-netizen avatar Jan 06 '22 03:01 robin-netizen

Duplicate of https://github.com/benawad/tsconfig.json/issues/47

OmgImAlexis avatar Mar 07 '22 22:03 OmgImAlexis