Running npx tsconfig.json opens a bash script (WIndows)
See original GitHub issueThe ouput:
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../tsconfig.json/src/index.js" "$@"
ret=$?
else
node "$basedir/../tsconfig.json/src/index.js" "$@"
ret=$?
fi
exit $ret
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:8
Top Results From Across the Web
How can I generate a tsconfig.json file? - Stack Overflow
the Normal way to generate the tsconfig file is to create a file with a name tsconfig.json then open {} ,inside this {}...
Read more >TypeScript Compiling with Visual Studio Code
A tsconfig.json file defines the TypeScript project settings, such as the compiler options and the files that should be included. To do this,...
Read more >How To Run TypeScript Scripts with ts-node - DigitalOcean
In this article you will learn how to run TypeScript scripts without the hassle of manually transpiling.
Read more >tsc command not found TypeScript error [Solved] | bobbyhadz
To solve the error "tsc: command not found", install the typescript package globally by running npm install typescript@latest -g or use the npx...
Read more >How to Write Shell Scripts in Node with Google's zx Library
But if you've tried writing a shell script to run under Node.js, ... We need to create a tsconfig.json file containing the following ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
How to fix:
C:/Users/username/AppData/Local/Yarn/bin
and npmC:/Users/username/AppData/Roaming/npm)
(thanks kevincharless))tsconfig.json
andtsconfig.json.cmd
totsconfig
andtsconfig.cmd
tsconfig
and it should work (npx tsconfig.json
wont)same here as well 👀